I have a array of Projects, which contains all Projects that have their
'display' object set to 1 (true).
The problem is: when I create a new record, I tried changing the value
of 'display' to false. This did not change the value as false when it
entered the database. In contrast to this, when I edit an existing
record and change the value of 'display' to false, it does.
I have raised the value of display before and after save to ensure it
wasn't (somehow) being changed at this stage.
My controller code can be seen here:
If there's anything else you need to assist me with this, please let me
know.
--
Posted via http://www.ruby-forum.com/.
--
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 rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
No comments:
Post a Comment