1
0
Fork 0
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:
hoshitocat 2015-07-12 16:39:14 +09:00
parent 8b30302f3b
commit 9927d9944e

View file

@ -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)