This short tutorial will be beneficial for you if database relationships and keywords like belongs_to and has_many confuse you, or if you’re trying to find out how relationships are implemented in Rails. As we create a small demonstration project, you’ll see that one beauty of Rails is how it does most of the work gluing [...]SHARETHIS.addEntry({ title: "Understanding Basic Database Relationships in Rails", url: "http://biodegradablegeek.com/2007/12/understanding-basic-database-relationships-in-rails/" });
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/" });
Some swear by it, for others it’s a bane: Music while programming. Throughout grade school, we’ve been cautioned not to keep the TV and music on when doing homework, but is it really counter-productive? According to this study, not so, at least for people who are understimulated — which probably accounts for most geeks these [...]SHARETHIS.addEntry({ title: "Music to Code By - What Do You Listen to While Programming?", url: "http://biodegradablegeek.com/2007/12/music-to-code-by-what-do-you-listen-to-while-programming/" });
Wednesday, December 26, 2007
11 Comments