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.

stefanpenner's latest activity

Sunday, November 07 2010
5718 Models fail to autoload in Rake files if config.threadsafe! was updated in Ruby on Rails
  • stefanpenner
    stefanpenner commented at 5:26 PM

    José,

    unfortunately with config.threadsafe! enabled loading the environment dependency does not eager load models.

        $ bundle exec rails g model foo 
        ......
Tuesday, September 28 2010
5718 Models fail to autoload in Rake files if config.threadsafe! was created in Ruby on Rails
  • stefanpenner
    stefanpenner created the ticket at 5:33 AM

    if config.threadsafe!, rake tasks in lib/tasks fail to autoload models.

    Either eager loading OR autoloading would be great, currently we have neither.

Friday, June 11 2010
4837 Rails master version check is broken. was created in Ruby on Rails
Tuesday, September 01 2009
3131 multiparamter_attribute assignment fails when used via assoication was updated in Ruby on Rails
  • stefanpenner
    • Tag changed from 2.3.4 to 2.3.4, activerecord, multiparameter_attributes
    • Title changed from multiparameter_attribute assignment fails when used via assoication to multiparamter_attribute assignment fails when used via assoication
    by stefanpenner at 9:45 PM
  • stefanpenner
    stefanpenner created the ticket at 9:36 PM

    It seems multiparameter_attributes fail when being assigned via an association proxy.
    After some muddling, it turns out the AR::Base#initialize was to blame. Th...

Tuesday, July 21 2009
2934 association_collection#create acts as association_collection#create! was created in Ruby on Rails
  • stefanpenner
    stefanpenner created the ticket at 9:13 PM

    ActiveRecord has_many :through's association_collection#create seems to act as association_collection#create!, raising errors instead of merely building the AR ...

Sunday, March 01 2009
2103 [Resolved]view templates from engines don't load in production was updated in Ruby on Rails
  • stefanpenner
    • Title changed from view templates from engines don't load in production to [Resolved]view templates from engines don't load in production
    by stefanpenner at 2:33 AM

    seems doing another rake rails:freeze:edge fixes the issues, seems the code-base i was working with was outdated, my apologies.

Saturday, February 28 2009
2103 view templates from engines don't load in production was updated in Ruby on Rails
  • stefanpenner
    stefanpenner commented at 11:30 PM

    i've create a Github Repo, and added a link in the above description

  • stefanpenner
    stefanpenner commented at 10:02 PM

    thanks thedarkone: for pointing that out, that was my mistake in the ticket and has been corrected.

  • stefanpenner
    stefanpenner created the ticket at 8:32 PM

    It seems view layouts from engines where the controller is also present in the host app do not load in production, but load fine in development.

    Example

    Github ...