Displaying 3 results from an estimated 3 matches for "documents_controller".
2006 Oct 17
1
Routing Problem
Hi,
I have a folder structure see below which basically has a fodler for the
main pages of the site(main) and another folder which contains a
ajax_scaffold grid to allow a user to view/sort/download documents:
views
main
documents
Controllers
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are
2006 Aug 02
2
Ajax_Scaffold display from link table
...me", :sortable => false })
]
end
_form.rhtml
<div class="form-element">
<label for="document_category">Category</label>
<%= select ''document'', ''category_id'' , Document.find_{[p.id ] } %>
</div>
documents_controller.rb
@paginator, @documents = paginate(:documents, :order => @sort_by,
:include => :category, :per_page => default_per_page)
I keep getting the following error:
ActiveRecord::StatementInvalid in DocumentsController#component
Mysql::Error: #42S22Unknown column ''categories.document...
2006 Nov 28
17
Index not being updated
My index is not being updated when I add new records or amend existing
ones.
Can anyone point me in the direction of where I should be looking for
what is going wrong?
I''m running this in the production environment.
--
Posted via http://www.ruby-forum.com/.