Category Archives: Sample Code

Next step : Creating the database for the filename application

The next phase or step would be to create a database for the application to use. Make sure the MySql engine is running and in the command window type “mysql -u root -p” and press enter and another enter for the password when prompted for there has not been any defined password yet. You are [...]

Also posted in Basics, Set-Up | Tagged , , , | Comments closed

Using the IF Statement

If you are a programmer then most probably you know that when the IF statement is used, it stands for options as far as the program flow is concerned. It is not different in Ruby on Rails and other programming languages since normally, the need to provide users of the program with the variable options [...]

Also posted in Programming | 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 at once (as [...]

Also posted in Advanced, Basics, Information, Medium, Programming, Set-Up | Comments closed