Skip to content
Browse files

fixes for Formtastic 2 example

  • Loading branch information...
1 parent 6dcc4da commit 3c709490f08be017d0b675353c1055750e6ecf70 @leonid-shevtsov committed
Showing with 0 additions and 1 deletion.
  1. +0 −1 README.rdoc
View
1 README.rdoc
@@ -515,7 +515,6 @@ For Formtastic 2, define a custom input class:
def collection_from_enum
@object.enums(method.to_sym).try(:select_options) || []
- choices = enum ? enum.select_options : []
end
end

0 comments on commit 3c70949

Please sign in to comment.
Something went wrong with that request. Please try again.