For those that use the RubyMine IDE
Added the :foreign_key option to associations
Merge pull request #4 from carlosagp/adding_foreing_key_option_to_associations

Adding foreing key option to associations