Skip to content

Commit

Permalink
Rails3: no need for symbolize_keys! in Rails3 as params is HashWithIn…
Browse files Browse the repository at this point in the history
…differentAccess
  • Loading branch information
anitagraham committed Oct 6, 2010
1 parent c4bd70d commit 8883735
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/gridify/grid_finder.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ class Grid
# :page page number (starts at 1) ["1"]

def update_from_params( params )
params.symbolize_keys!
params_to_rules params
self.sort_by = params[:sidx] if params[:sidx]
self.sort_order = params[:sord] if params[:sord]
Expand Down

0 comments on commit 8883735

Please sign in to comment.