Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Fabian Schwahn's latest activity

Tuesday, July 13 2010
5091 Creating a model named Format result in code 406 was updated in Ruby on Rails
  • Fabian Schwahn
    Fabian Schwahn commented at 9:17 PM

    Ah thanks, didn't know that page existed.

Monday, July 12 2010
5091 Creating a model named Format result in code 406 was updated in Ruby on Rails
  • Fabian Schwahn
    Fabian Schwahn commented at 10:33 AM

    Thinking about it a little more, the controller probably mistakes params[:format] as the format of the query, that's why it says

    Processing by FormatsControlle...
  • Fabian Schwahn
    Fabian Schwahn created the ticket at 10:20 AM

    I have created a vanilla Rails3 app and scaffolded a model named Format with one attribute 'name'.
    If I send any Post-request to the controller (create or updat...

Sunday, May 16 2010
4604 number_to_currency fails with "NoMethodError: undefined method `>=' for nil:N... was updated in Ruby on Rails
  • Fabian Schwahn
    Fabian Schwahn commented at 1:28 AM

    ok, some more information:
    Apparently, if you set a locale different than :en, the number helpers stop working.
    That is because the options are set as follows (...

  • Fabian Schwahn
    Fabian Schwahn commented at 12:42 AM

    ok, I investigated a little further, and the bug only occurs if the default locale is set to :de .
    So, if I set


    config.i18n.default_locale = :de


    in config/app...

Saturday, May 15 2010
4604 number_to_currency fails with "NoMethodError: undefined method `>=' for nil:N... was created in Ruby on Rails
  • Fabian Schwahn
    Fabian Schwahn created the ticket at 4:55 PM

    The title says it pretty much.
    I use rvm, in this case ruby-1.8.7-p249. Seems to me like a ruby problem.
    Output from Rails console:

    Loading development environ...