On Nov 18, 2008, at 6:04 PM, Joshua Kolden wrote:
> > I need some help to debug an issue that just came up, and I've never > seen before. I have a model, let's call it Allocation, and it has > worked in the past (is working now on the live server). It's fairly > simple with user_id, size, start (date), expire (date), > storage_billing_id, timestamps. I started noticing in my development > branch a couple of days ago that it won't save. As I investigate > further I see no errors when I attempt to save it just fails and > return nil. > > in the console I tried: > >>> a = Allocation.new > ... > # ...assigned all the attributes manually > >>> a.save > => nil >>> a.valid? > => true >>> a.frozen? > => false >>> a.save! > nil >>> a.errors.full_messages > => [] > > I've removed some columns and added a column to this model recently, > I've tampered with my os x rails installation recently, and I've done > a lot of development around this class recently, but which of these > issues is most likely the cause I don't know. Any help debugging this > would be GREATLY appreciated. Any before_filters in place on this model? What does your development.log say? Do you see the INSERT query? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---

