This project is archived and is in readonly mode.
present? behaves differently for has_many and belongs_to associations
-
23inhouse
Now i'm pretty sure something is up.
b = Bar.create
b.foos.build
b.foos.first.save
b.foos.first.present?
=> false # this is still false -
23inhouse
Forget it something weird was happening in my project, it works in a new rails app.
-
Santiago Pastorino
- State changed from new to invalid
- Importance changed from to Low