Displaying 2 results from an estimated 2 matches for "edit_list_path".
2010 Mar 26
2
file upload error(can't convert Tempfile into String)
...;
this is ma view file
.remote
- form_for(@list, :url=> save_imports_list_path(@list, :format =>
"js"), :html => { :multipart => true, :target => "uploading", :onsubmit
=> "$(''list_submit).disabled = true" }) do |f|
= link_to_close edit_list_path(@list)
.section
%small
#{t :add_contacts_from_file}
%table{ :width => 500, :cellpadding => 0, :cellspacing => 0 }
%tr
%td{ :valign => :top }
.label.top.req #{t :upload_new}:
=f.file_field :uploads, :style => "width:2...
2010 Aug 24
11
will_paginate problem
Hi
I am using rails 2.3.8 & ruby 1.3.7 & will_paginate 2.3.14
I have table name books. I am doing this code for pagination,
In book_controller
@@@@books = Book.paginate :page => params[:page], :per_page => 10@@@@
& in index.html.erb
@@@@@<%= will_paginate @books %>@@@@@
Also added in environment.rb file this line
@@@@@ require