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.

andrehjr (at gmail)'s latest activity

Thursday, February 03 2011
6358 has_many :through join table conditions not applied on create was updated in Ruby on Rails
  • andrehjr (at gmail)
    andrehjr (at gmail) commented at 12:49 AM

    try this:

     has_many :owner_roles, :class_name => "Role", :conditions => { :name => "project_owner" }
    
Friday, January 28 2011
6331 select_tag ignores :multiple option was updated in Ruby on Rails
  • andrehjr (at gmail)
    andrehjr (at gmail) commented at 5:05 AM

    I think you're missing a {} in the f.select.. select and select_tag are both working properly on rails@master

    <%= form_for :neighborhood do |f| %>
      <%= f.sele...
Monday, January 18 2010
3726 Rails.root doesn't seem avaliable from install.rb when installing a plugin was updated in Ruby on Rails
  • andrehjr (at gmail)
    andrehjr (at gmail) commented at 9:23 AM

    Of course!

    try (i created this when I was testing)

    script/plugin install git://github.com/andrehjr/more_or_less.git

    sorry I forgor to mention, it is Rails 3. I ...

Sunday, January 17 2010
3726 Rails.root doesn't seem avaliable from install.rb when installing a plugin was updated in Ruby on Rails
  • andrehjr (at gmail)
    • Tag changed from plugin to bugmash, plugin
    by andrehjr (at gmail) at 9:50 PM
  • andrehjr (at gmail)
    andrehjr (at gmail) created the ticket at 7:51 PM

    Trying to use 'Rails.root' on a install.rb returns nil when installing a plugin.

    The same doesn't not happen with init.rb.