Author Archives: Ernest

Ruby on Rails is Leading in Web Application Development

The obvious need today is to go with the flow of technology as aggressive web applications are being produced here and there. Ruby on Rails has been identified as the best interface software that programmers look forward to today since it simple yet great output makes the world of programming all the more simpler. You [...]

Posted in Advanced, Basics, Programming | Comments closed

Connection Pooling

Image Source: javaworld.com Database connection pooling is already supported by Ruby on Rails 2.2! Basically, connection pooling occurs when several of the database connections are kept open and they are all ready for queries. And when Rails gets an HTTP request and queries the database, what it does is, it gets an open database connection [...]

Posted in Basics | Comments closed

File Uploading using Rails

Image Source: images.devshed.com If you want your site visitor to upload a certain file on your server, Rails make it an easy task to undertake the requirement. We will use the new application of Ruby on Rails called upload. We can create the basic structure of the application. And we will need simple Rails commands. [...]

Posted in Basics | Comments closed

A Complete Cross-Platform Application

Image Source:oreillynet.com Ruby on Rails is a complete cross-platform application for web development. It is the best architecture for developing application programming. Ruby on Rails has several advantages over other frameworks. They are what makes Ruby development tasks fast and easy. It provides a meta programming method for the creation of databased web applications, which [...]

Posted in Programming | Tagged | Comments closed

Several Command-Line Options

Image Source: www.anylinuxwork.com Here are some few command line options in which can guide you in programming your Ruby on Rails: -0[octal} The number “0” flag specifies the record separator character (\0, if no digit follows). -00 indicates paragraph mode: records are separated by two successive default record separator characters. -0777 reads the entire file [...]

Posted in Advanced, Basics, Information, Medium, Programming, Sample Code, Set-Up | Comments closed

RoR and Text Editors Part-1

Though there is no preferred editor in the coding and editing of programs which is usually left to the programmer to decide. There are a couple of purpose built editors that can be used with RoR. Emacs, has a quite simple configuration that accompanies its use and allows simultaneously displays changes as they are made [...]

Posted in Basics | Comments closed

Before You Start

Assuming you have even just a little background in programming with any language there are four basic programs and extensions that you need but are provided by the quick installers you’ve just downloaded to your hard drive. You have The Ruby programming language program files, the Rails part of the programming extension/platform, MySql or your [...]

Posted in Advanced, Basics, Medium, Set-Up | Tagged , , , | Comments closed

Ruby on Rails Cleans Site Malfunctions

In the world of programming and scripting, most programmers are bound to find some odds and ends especially when they are on the verge of compiling their designed program. Debugging them prior to compilation will surely return some errors and for sure, programmers will be wondering which part of their script needs to be double [...]

Posted in Programming | Comments closed

RoR and Text Editors Part-2

More on text editors that are used with RoR and we not discuss VIM or Vi Improved. Vim like Emacs is quite efficient and easy to use with RoR provided it is set-up properly. The nice about Vim is that it has the nifty way of highlighting syntax in ruby making it easy to trace [...]

Posted in Basics | Tagged , | Comments closed

Next Step � Creating Empty Applications

Now that all has been set-up and is working, you should be able to create empty apps which is merely defining the application using rails which automatically creates all the necessary directories that are needed. Open a command prompt window and go to the directory where it was installed and proceed into the rails_apps directory. [...]

Posted in Basics, Set-Up | Tagged , | Comments closed