Displaying 1 result from an estimated 1 matches for "find_all_group".
Did you mean:
find_all_groups
2006 May 31
5
undefined method `redirect_to''
...I have followed this tute:
http://hivelogic.com/articles/2005/12/01/ruby_rails_lighttpd_mysql_tiger
to get rails running and all is fine except for getting:
undefined method `redirect_to''
when I load my test page.
I have the following in my xx.rhtml:
<%= select :group, :user_id, find_all_groups, {}, {:onclick =>
select_group, :size => find_all_groups.size + 1} %>
and in my xx_helper.rb I have:
def select_group
redirect_to "http://www.rubyonrails.org"
end
I have installed actionpack.
Any help with the problem would be greatly appreciated.
Cheers,
Mark
--...