search for: vendor1

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

Did you mean: vendor
2008 Mar 08
9
Newbie worries with "Developing Rails Applications on Max OSX Leopard"
...unable to go any further than "Linking Models Together" : I can create the "vendors" mentionned in the exemple, and I can get an "event" to look to. But when I try to create an "expense", I get a message saying : >> event.expenses.create(:vendor => vendor1, :amount => 75.00) NoMethodError: undefined method `expenses'' for #<Event:0x125e008> from /Library/Ruby/Gems/1.8/gems/activerecord-2.0.2/lib/active_record/ attribute_methods.rb:205:in `method_missing'' from (irb):2 Could anybody help me ? I have checked the classes file...
2008 Jun 30
3
script/console sqlite3
...not just point me to the right place, please. I''m running through this tutorial: http://developer.apple.com/tools/developonrailsleopard.html and everything went swimmingly until I got to the point where I had to do some db stuff in script/console. I enter what the tutorial tells me to vendor1 = Vendor.create(:name => ''Parties R Us'') ........ and I''m supposed to get back => #<Vendor id: 1, name: "Parties R Us", ...> ........ but instead I get this mess: MissingSourceFile: no such file to load -- sqlite3/database from /usr/local/lib/r...