oohh thank you!! I solved!!!
--
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
I have this in my view List:
plabel Delete all user have more than (month): /label
%= text_field_tag(month, p, :size = 10 ) %
%= link_to 'Delete', :confirm = 'Are you sure?',:month = p,:action =
destroyMonth%/p
and in the controller i have the method destroyMonth
def destroyMonth (month)
I have two action in the same controller:
def list
if logged_in?
sort = case params['sort']
when title then title
when a then a
when b then b
when c then c
when title_reverse then title DESC
when a_reverse then a DESC
I tried to delete from a datatable that I represent with will_paginate
and ajax. In the view there are something like that:
tbody
% @items.each do |i| %
tr class=%= cycle(even,odd) %
td%= i.name %/td
td%= i.quantity %/td
td%= i.price %/td
td%= link_to 'Destroy',
Hi, I don't speak English very well, and I have a problem, with the gem
mislav-will-paginate I install perfect, the las version 2.3.11 and I did
the example
http://dev.nozav.org/rails_ajax_table.html and I copy all!!
My problem is this:
NoMethodError in ItemController#list
undefined method
5 matches
Mail list logo