Permalink
Browse files

fixes for Formtastic 2 example

  • Loading branch information...
leonid-shevtsov committed Apr 11, 2012
1 parent 6dcc4da commit 3c709490f08be017d0b675353c1055750e6ecf70
Showing with 0 additions and 1 deletion.
  1. +0 −1 README.rdoc
View
@@ -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.