I'm using Enum in a rails 3 app. Note how #day_of_week changes:
> r = Reminder.new => #<Reminder @day=nil @sent_at=nil @event_id=nil> > r.event = Event.new => #<Event @id=nil @title=nil @schedule=nil @day_of_week=nil @category=nil @user_id=nil> > r.event.day_of_week = :monday => :monday > r.event.day_of_week => 1 > r.event.day_of_week => nil But here it doesn't > e = Event.new => #<Event @id=nil @title=nil @schedule=nil @day_of_week=nil @category=nil @user_id=nil> > e.day_of_week = :monday => :monday > e.day_of_week => :monday > e.day_of_week => :monday I tried creating a minimal test case, but cannot replicate the problem. That test case, plus my Gemfile.lock, is here: https://gist.github.com/53781bbe1005ce39f5b5 Any suggestions as for where to start looking into this would be appreciated, I'm at a bit of a loss. Xavier -- You received this message because you are subscribed to the Google Groups "DataMapper" 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/datamapper?hl=en.
