search for: filter_parameters

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

2007 Sep 09
1
filter_parameter_logging
Hi, Is there a way to specify keys of a hash in params to filter_parameter_logging. For example, my payment form sends creditcard[:number] and creditcard[:type] in params and I filter these keys using filter_parameter_logging :number, :type. I don''t want :number and :type in other forms to be filtered. Is there a way to solve this? thanks, Ritesh
2006 Jul 16
1
Don''t log params
Hello! I need to supress the logging of params for certain actions, i.e. I don''t want the params hash to show up in one of my actions. Does anyone know how to do that? Thanks, Rob -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060716/62b2e2d5/attachment.html
2012 Jan 23
2
Rails 3.2: invalid %-encoding (100%)
...334:in `parse_query'' rack (1.4.1) lib/rack/request.rb:186:in `GET'' actionpack (3.2.0) lib/action_dispatch/http/request.rb:225:in `GET'' actionpack (3.2.0) lib/action_dispatch/http/parameters.rb:10:in `parameters'' actionpack (3.2.0) lib/action_dispatch/http/filter_parameters.rb:33:in `filtered_parameters'' actionpack (3.2.0) lib/action_controller/metal/instrumentation.rb:21:in `process_action'' actionpack (3.2.0) lib/action_controller/metal/params_wrapper.rb:205:in `process_action'' activerecord (3.2.0) lib/active_record/railties/controlle...
2010 Nov 04
9
Delete action is not working and redirects to edit action
Hello, i have a strange problem here. I have made a teacher controller using scaffold. All actions work fine but the delete does not. When i click the delete link, it redirects me to the edit of this teacher. I have restarted the server and i have tried in firefox (i use chrome) but problem still remains. Here is the code from my view. <%= link_to(image_tag("/images/
2014 Jun 11
0
my webpage does not send emails confimation/notification
...#39;my', 'locales', '*.{rb,yml}').to_s] # config.i18n.default_locale = :de # Configure the default encoding used in templates for Ruby 1.9. config.encoding = "utf-8" # Configure sensitive parameters which will be filtered from the log file. config.filter_parameters += [:password] # Enable escaping HTML in JSON. config.active_support.escape_html_entities_in_json = true # Use SQL instead of Active Record's schema dumper when creating the database. # This is necessary if your schema can't be completely dumped by the schema dumper, #...