search for: new_book

Displaying 2 results from an estimated 2 matches for "new_book".

Did you mean: 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 it...
2010 Aug 01
0
fields_for can not group its params when ajax
...ot;"}] but it is "book"=>{"new_pages"=>[{"name"=>""}, {"name"=>"", "color"=>""}, {"color"=>""}]\ My page and params are listed below.please help me,this take me a whole day. new_book page: <div><%=error_messages_for :book-%></div> <%form_remote_for :book,@book,:update=>"book{@book.id}",:url=>books_path do|v|%> <table> <tr> <td><%=v.label "name"-%></td> <td><%=...