Permalink
Browse files

shows some debugging information as the tool examines models

to make it easer for people identify what causes a failure.
  • Loading branch information...
1 parent a18776a commit e7dcc1be448910e3d70a3492274e260aed01ee1c @bwlang committed Mar 25, 2011
Showing with 1 addition and 2 deletions.
  1. +1 −2 lib/o_data/active_record_schema/association.rb
@@ -91,8 +91,7 @@ def self.from_end_options_for(schema, reflection)
end
def self.to_end_options_for(schema, reflection)
- Rails.logger.level = 0
- Rails.logger.info("Processing #{reflection.class}")
+ Rails.logger.info("Processing #{reflection.active_record}")
active_record = active_record_for_to_end(reflection)
entity_type = schema.find_entity_type(:active_record => active_record)

0 comments on commit e7dcc1b

Please sign in to comment.