search for: _eims

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

Did you mean: eims
2010 Feb 23
2
Problem: The command "rake db:create:all" crashes
...def self.up create_table :suppliers do |t| t.string :nickname t.string :qbname t.timestamps end end def self.down drop_table :suppliers end end Then I ran "rake db:create:all". The Command Window display for this is: K:\_Projects\Ruby\_Rails_Apps\_EIMS\RTS>rake db:create:all (in K:/_Projects/Ruby/_Rails_Apps/_EIMS/RTS) K:/_Utilities/ruby186-26_rc2/ruby/lib/ruby/gems/1.8/gems/ activesupport-2.3.5/lib/active_support/core_ext/module/ introspection.rb:73: [BUG] Segmentation fault ruby 1.8.6 (2007-09-24) [i386-mswin32] This application has request...
2010 Jul 16
31
Added associations but don't see generated methods
Hi, I''ve got a Rails app working that includes two two classes, etc.: Expense & Vendor. I eventually learned that the mental concept I had of their relationship should be express in Rails as: class Expense < ActiveRecord::Base; belongs_to :vendor; end class Vendor < ActiveRecord::Base; has_many :expenses; end