Skip to content
Browse files

Revert "Merge pull request #769 from bradseefeld/master"

Build failed.

This reverts commit 60589ec, reversing
changes made to ab27e75.
  • Loading branch information...
1 parent 60589ec commit 1f064338850f64e4c967fe949cda18e9cffe47ef @justinfrench committed
Showing with 1 addition and 4 deletions.
  1. +1 −4 lib/formtastic/helpers/reflection.rb
5 lib/formtastic/helpers/reflection.rb
@@ -7,10 +7,7 @@ module Reflection
def reflection_for(method) #:nodoc:
if @object.class.respond_to?(:reflect_on_association)
- # MongoMapper uses the 'associations(method)' instead
- # ReactiveResource does as well but its an array. Also make sure we are working with a hash
- elsif @object.class.respond_to?(:associations) && @object.class.is_a?(Hash)
+ elsif @object.class.respond_to?(:associations) # MongoMapper uses the 'associations(method)' instead

0 comments on commit 1f06433

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