search for: amokran

Displaying 2 results from an estimated 2 matches for "amokran".

Did you mean: amoran
2011 Feb 26
1
How to manage the form of a model that has two foreign keys
Hi, Basically I have two models: User and Godfather. The godfather table has three columns: - user_id (FK --> User) - user_godfather_id (FK --> User) - description (text) Inside each model class, I am adding the following associations: class User < ActiveRecord::Base has_many :godfathers # for user_id has_many :godfathers, :foreign_key =>
2011 Feb 07
0
Error loading rubygems
Hi, During an operation (rspec related) that required loading rubygems (from config/boot.rb file) I got the following error message: ~/config/boot.rb:1:in `require'': no such file to load -- rubygems (LoadError) ~/config/boot.rb:1 from ~/config/application.rb:1:in `require'' from ~/config/application.rb:1 from ~/config/environment.rb:2:in `require'' from