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.

Marcelo Barbudas's latest activity

Wednesday, April 28 2010
4496 Rails doesn't look for the best option in ViewPaths was created in Ruby on Rails
  • Marcelo Barbudas
    Marcelo Barbudas created the ticket at 5:58 PM

    I am modifying view_paths for the purpose of themes.

    If I make a JS request and the first directory contains an html.erb file it will render that, instead of lo...

Tuesday, June 16 2009
2806 ActionMailer and non-thread I18n was created in Ruby on Rails
  • Marcelo Barbudas
    Marcelo Barbudas created the ticket at 9:02 AM

    Hi,

    When sending mails there is often the case where you are sending it to another party than the current logged in user (like when commenting on a blog).

    It wo...

Thursday, May 28 2009
2735 extra whitespace when translating mailers was created in Ruby on Rails
  • Marcelo Barbudas
    Marcelo Barbudas created the ticket at 9:04 PM

    Hi,

    I have a very simple setup where I need to translater a mailer view.

    In the view I have:
    <%= t(:body, :variable => 'something') %>

    And in config/locals/lang...

Monday, October 27 2008
1145 Bug: InvalidAuthenticityToken incorrectly raised for XML controller#destroy r... was updated in Ruby on Rails
  • Marcelo Barbudas
    • Tag changed from request-forgery-protection, actionpack, activeresource, bug to actionpack, activeresource, bug, request-forgery-protection
    by Marcelo Barbudas at 1:06 PM

    I've encountered the same problem.

    Will this bug be fixed any time soon?

Tuesday, August 12 2008
620 include field ignored was updated in Ruby on Rails
  • Marcelo Barbudas
    Marcelo Barbudas commented at 10:45 AM

    Indeed making it a string fixes the problem.

    After using conditions => [] for some time it feels naturally to use arrays for options in find methods.

Tuesday, July 15 2008
620 include field ignored was created in Ruby on Rails
  • Marcelo Barbudas
    Marcelo Barbudas created the ticket at 1:46 AM

    I have a query like this:

    item = Item.find(:all, order => [ "field(users.login, 'automated_user'), items.id DESC" ], :include => :user)

    This fails in Rails 2...

Thursday, July 10 2008
588 Model.count not including all group fields was created in Ruby on Rails
  • Marcelo Barbudas
    Marcelo Barbudas created the ticket at 12:44 AM

    I am trying to get number of events of by a certain person in a time period.

    My activerecord syntax is:

    Event.count(:group => [ 'DATE(created_at), user_id' ]...