17dd97af1c
- Simplify the #initialize method by moving the `sort_params` logic into its own method. - Avoid hidden conditionals and ternaries to keep conditionals as explicit (and painful) as possible. - Use Ruby 1.9+ hash syntax. |
||
---|---|---|
.. | ||
ransack | ||
ransack.rb |