My Blog

Passing on knowledge about software development and related technologies.

Seeding your database in Rails - Part 1

When writing applications in Rails that use databases (as most do), we often have the need to populate small "reference" tables with data (like credit card types, colors, dog breeds, categories, etc) used in form drop-downs, test data when developing or inserting specific records into the database at deployment time. This is accomplished in Rails with the seeds.rb file located in the DB directory of your rails project folder. Surprisingly, most new Rails developers do not know about this file. If you open the file seeds.rb file in Rails you will see some examples of how you ins... Continue reading

My Thoughts about the RubyMine IDE

First let me note that I am in no way associated with JetBrains (the developers of RubyMine), just a loyal customer. As a long-time developer on many platforms, I have always thought Visual Studio was the most mature and well-thought-out IDE (Integrated Development Environment) out "in the wild". Many products have tried to copy its success across many different platforms but none has impressed me as much as RubyMine has since I started writing Ruby and Rails applications.

What makes RubyMine so special? Well lots of things, but most of all it helps you to be PRODUCTIVE... Continue reading

Displaying blogs 6 - 7 of 7 in total