1 class ApplicationController < ActionController::Base
3 before_filter :uncamelcase_params_hash_keys
7 def uncamelcase_params_hash_keys
8 uncamelcase_hash_keys(params)
11 def uncamelcase_hash_keys(h)
17 elsif k.class == Symbol
18 nk = k.to_s.underscore.to_sym
22 nh[nk] = uncamelcase_hash_keys(v)