Merge pull request #1411 from heycait/master

Fix typo and misalignment in comments
This commit is contained in:
Carlos Antonio da Silva 2016-07-28 18:36:14 -03:00 committed by GitHub
commit 81a7e71637
1 changed files with 2 additions and 2 deletions

View File

@ -510,7 +510,7 @@ module SimpleForm
end
# Attempt to guess the better input type given the defined options. By
# default alwayls fallback to the user :as option, or to a :select when a
# default always fallback to the user :as option, or to a :select when a
# collection is given.
def default_input_type(attribute_name, column, options)
return options[:as].to_sym if options[:as]