Twitter / Home
In the following, notice that r.time= works for heroku-staging, but not from heroku.
I did a 'git push' for both of them, so they have identical code.
I did a db:pull and db:push from critter4us to critter4us-staging, so the data should be identical.
Note that the 'time' column was recently added. (That was part of the newest feature.)
576 $ heroku console --app critter4us
Ruby console for critter4us.heroku.com
>> r = Reservation[:course => 'Lab']
=> #true, :time=>"morning", :instructor=>"cpruitt", :date=>#, :course=>"Lab", :id=>5}>
>> r.time = "morning"
NoMethodError: undefined method `time=' for #
>> exit
577 $ heroku console --app critter4us-staging
Ruby console for critter4us-staging.heroku.com
>> r = Reservation[:course => 'Lab']
=> #true, :time=>"morning", :instructor=>"cpruitt", :date=>#, :course=>"Lab", :id=>5}>
>> r.time = "morning"
=> "morning"
>>
7:16 pm • 9 November 2009