I noticed that my unit tests started failing after doing an svn up
today, so I tried to zero in on the revision:
3713: fail
3700: pass
3710: fail
3705: pass
3706: pass
3708: fail
3707: fail

3706 is good, 3707 kills them.
I get this weirdness at the console: (where plan is SpendingPlan.find(:first))

>> plan.valid?
=> true
>> plan.save!
ActiveRecord::RecordNotSaved: ActiveRecord::RecordNotSaved
        from 
./script/../config/../config/../vendor/rails/activerecord/lib/active_record/base.rb:1297:in
`save_without_validation!'
        from 
./script/../config/../config/../vendor/rails/activerecord/lib/active_record/validations.rb:734:in
`save!'
        from (irb):8
>>

There are no before_saves or "validates" on this model, and no
database constraints.
No errors in the test.log or development.log output.
_______________________________________________
Rails-core mailing list
[email protected]
http://lists.rubyonrails.org/mailman/listinfo/rails-core

Reply via email to