A A
RSS

Tag Archive | "Ruby on Rails"

How To Use Fixtures to Populate Your Database in Rails

Friday, July 11, 2008

0 Comments

UPDATE: I’ve been using this method for awhile now: http://railspikes.com/2008/2/1/loading-seed-data Seed data is data that the app is dependent on. It is data that has to exist if you were to wipe the database clean and reload your schema. Some examples would be a list of cities/states, a list of categories, or the initial ‘admin’ user [...]SHARETHIS.addEntry({ title: "How To Use Fixtures to Populate Your Database in Rails", url: "http://biodegradablegeek.com/2008/07/how-to-use-fixtures-to-populate-your-database-in-rails/" });

Using Vim as a Complete Ruby on Rails IDE

Thursday, December 13, 2007

20 Comments

NOTE: If you are experiencing segmentation faults with vim and rails.vim, see this post. When coding in Ruby on Rails, you’ll usually be switching between files and running scripts a lot. It can be time-consuming and frustrating coding Rails using a traditional text editor designed for working on big files individually. Vim lets you hop around [...]SHARETHIS.addEntry({ title: "Using Vim as a Complete Ruby on Rails IDE", url: "http://biodegradablegeek.com/2007/12/using-vim-as-a-complete-ruby-on-rails-ide/" });