search for: users_helper

Displaying 5 results from an estimated 5 matches for "users_helper".

Did you mean: user_helper
2006 Jan 11
5
stack level too deep problem
...0: 41: #<a href={$movtable.table.columns.$curr_key.url}> 42: #{$movtable.table.columns.$curr_key.nome} 43: #</a> Trace of template inclusion: /app/views/users/list.rhtml RAILS_ROOT: ./script/../config/.. Application Trace | Framework Trace | Full Trace #{RAILS_ROOT}/app/helpers/users_helper.rb:12:in `link_to_original'' #{RAILS_ROOT}/app/helpers/users_helper.rb:12:in `link_to_original'' #{RAILS_ROOT}/app/helpers/users_helper.rb:12:in `link_to_original'' #{RAILS_ROOT}/app/helpers/users_helper.rb:12:in `link_to_original'' #{RAILS_ROOT}/app/helpers/users_he...
2005 Oct 25
2
generate scaffold ignores controller parameter
...rhtml create app/views/users/list.rhtml create app/views/users/show.rhtml create app/views/users/new.rhtml create app/views/users/edit.rhtml create app/controllers/users_controller.rb create test/functional/users_controller_test.rb create app/helpers/users_helper.rb create app/views/layouts/users.rhtml create public/stylesheets/scaffold.css Note - I''m new to Rails and it''s quite possible I''m doing something wrong. Thanks for any help, David
2011 Apr 08
5
How to extend a helper using plugin?
Hello, I''m facing this problem while trying to extend the parse_redmine_links helper method in Redmine-1.1.0 (Rails-2.3.5) from my plugin. My idea is to use alias_method_chain so the extended version could call the original version and adjust the result to it''s liking. Anything I''ve tried so far exposes this behavior: the first render of a page uses the extended
2005 Nov 29
0
undefined method `link_to'
Hi, all I''m trying call link_to from another helper but got this error: undefined method `link_to'' for module `UserHelper'' how can I get access to helper from another helper? this is my users_helper.rb: module UsersHelper alias ink_to_original link_to alias link_to link_to_permission def link_to_permission(name, options = {}, html_options = nil, *parameters_for_method_reference) if @permission if html_options html_options = html_options.stringify_keys convert_...
2009 Oct 06
1
Problems Processing multiple form elements generated by javascript actions
...@user = User.find(params[:id]) if @user.update_attribute(:enabled, false) flash[:notice] = "User disabled" else flash[:error] = "There was a problem disabling this user." end redirect_to :back #action => ''index'' end Helpers: users_helper.rb module UsersHelper def add_schedule_link(name) link_to_function name do |page| page.insert_html :bottom, :schedules, :partial => ''schedule'', :object => Schedule.new end end end