Show friendly error message if an invalid environment flag is passed to CLI
Reported by Alex Coles | May 9th, 2008 @ 03:28 PM | in 0.9.4
Currently, if an invalid environment is passed (environments are case-sensitive) then a less-than friendly error message is presented to the user.
For example:
merb -i -e test
works, but
merb -i -e TEST
presents the following error message to a user:
/Library/Ruby/Gems/1.8/gems/merb_datamapper-0.9.3/lib/merb/orms/data_mapper/connection.rb:63:in `symbolize_keys': undefined method `each' for nil:NilClass (NoMethodError)
Comments and changes to this ticket
-
Michael Klishin (antares) May 9th, 2008 @ 03:59 PM
Any patches to see what is user-friendly for you? Thanks.
-
-
Michael Klishin (antares) May 11th, 2008 @ 02:57 PM
- → Milestone changed from to 0.9.4
- → State changed from new to open
- → Assigned user changed from to Michael Klishin (antares)
Alex,
If you have no time to work on patch, you can leave some recommendations on what would be user friendly you think. Thank you.
-
Michael Klishin (antares) May 12th, 2008 @ 06:17 PM
- → State changed from open to invalid
Alex,
After some investigation I found out it happens in merb datamapper plugin code. So please report it to DM LightHouse. But it is actually present.
Thank you.
Please Login or create a free account to add a new comment.
You can update this ticket by sending an email to from your email client. (help)
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
