Displaying 2 results from an estimated 2 matches for "new_books".
2006 Aug 18
4
Database Triggers?
...BM DB2 9.
Can anyone explain how to use DB triggers in a complimentary fashion
with RoR? Or, I''m assuming that because I could not find examples of how
to work with triggers, the more elegant RoR model-based approach on how
to go about this?
As an example. I have a table called "new_books", where a user can
enter a new book through a form. This new book must be validated by an
admin before it can be moved to the (validated) "book" table. Normally,
I would use a trigger.
Another example would be collecting data from a web from where the
majority is stored in its...
2010 Aug 01
0
fields_for can not group its params when ajax
hi
book and page is one_to_many relationship.I want to create them in a
single form.But when clicking create button,the submitted params for
pages are not grouped correctly,
i want
"book"=>{"new_pages"=>[{"name"=>"", "color"=>""},
{"name"=>"","color"=>""}]
but it is