Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # the following statement works
- RAILS_DEFAULT_LOGGER.debug " category[:name] = #{category[:name]}"
- # while, this generates a "Exception: You have a nil object when you didn't expect it!" error
- RAILS_DEFAULT_LOGGER.debug " category.name = #{category.name}"
- # If I comment out the previous statement - everything works
Add Comment
Please, Sign In to add comment