mirror of
https://github.com/activerecord-hackery/ransack.git
synced 2022-11-09 13:47:45 -05:00
Add surrounding space in default value assignment
This commit is contained in:
parent
8b30302f3b
commit
9927d9944e
1 changed files with 1 additions and 1 deletions
|
@ -31,7 +31,7 @@ module Ransack
|
|||
|
||||
private
|
||||
|
||||
def extract_attributes_and_predicate(key, context=nil)
|
||||
def extract_attributes_and_predicate(key, context = nil)
|
||||
str = key.dup
|
||||
name = Predicate.detect_and_strip_from_string!(str)
|
||||
predicate = Predicate.named(name)
|
||||
|
|
Loading…
Reference in a new issue