Henrik Nyh
Not a member
Henrik Nyh's latest activity
Thursday, February 25 2010
-
Henrik Nyh commented at 12:28 PMMonkeypatch initializer until this is applied: http://gist.github.com/314504
-
- Tag changed from string interpolation, activesupport, active_support, interpolation, ruby1.9 to string interpolation, activesupport, active_support, interpolation, patch, ruby1.9
When I run the tests, it seems the i18n gem is used for the actual interpolation. Apparently this issue has been fixed in the i18n gem on GitHub (http://github....
-
Henrik Nyh commented at 11:10 AM -
Henrik Nyh created the ticket at 11:09 AMThis works in regular Ruby 1.8 IRB:
>> "%d%%" % 123 => "123%"But with ActiveSupport:
>> "%d%%" % 123 ArgumentError: one hash requiredIt seems ActiveSuppor...
Monday, February 08 2010
-
Henrik Nyh commented at 8:54 PMNice!
Haven't tried the patch yet, but just reading the diff, I'm thinking
it may reactivate the bug (#3874) with double help banners. Basically,
calling "optio...
Saturday, February 06 2010
-
Henrik Nyh commented at 12:26 PMOkay, so this is due to Rails.env caching its results in @_env.
When starting a server, config/application.rb:6 in my freshly generated app calls Rails.env:
Bu... -
Henrik Nyh created the ticket at 12:14 PMLooks like "railties/lib/rails/commands/server.rb" successfully sets RAILS_ENV to "test" when doing "rails server -e test", but Rails.env is still set to develo...
-
- Tag changed from docs, generators, rails3, railties, server to docs, generators, patch, rails3, railties, server
Okay, fixed it.
The "usage" bit was easy. The double banner was a tiny fix but took me way too long to figure out :)
-
Henrik Nyh commented at 10:08 AMFigured it'd be a quick fix for someone more familiar with this, but sure, I'll give it a shot :)