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.

There was a problem

You must be a member of this account.

rdavila's latest activity

Friday, September 10 2010
5578 AbstractController#asset_path overrides routes helper was updated in Ruby on Rails
  • rdavila
    • Tag changed from actionpack rails3 to actionpack rails3, invalid
    by rdavila at 11:05 PM

    I can't reproduce this bug, I'm using the following:

    • Rails Edge
    • ruby 1.8.7 (2010-08-16 patchlevel 302) [i686-linux]

    I had created an Asset scaffold and insert...

Saturday, May 22 2010
4666 Adding Observer fails initial db:setup was updated in Ruby on Rails
  • rdavila
    • Tag set to invalid
    by rdavila at 6:17 PM

    You're getting this error because the table "visibilities" doesn't exist in your database.

    Mysql::Error: Table 'dev.visibilities' doesn't exist:...

    The rake tas...

Wednesday, April 21 2010
2207 When using accepts_nested_attributes_for, update_attributes! on association d... was updated in Ruby on Rails
  • rdavila
    rdavila commented at 9:48 PM

    This works fine for me in Rails 2.3.5 and Ruby 1.8.7, and the correct syntax is:

    p.update_attributes! :name => "Smith29", :children_attributes => [{ :id => p.c...
1936 Emails with attachments don't work as documented was updated in Ruby on Rails
  • rdavila
    rdavila commented at 9:11 PM

    It works fine for me in 2.3.5.

Sunday, April 18 2010
1788 Telling ActiveRecord::ConnectionAdapters::SchemaStatements#create_table to no... was updated in Ruby on Rails
  • rdavila
    rdavila commented at 10:05 PM

    Rails has many conventions and I think that this is one of these. You can't use the id column if it isn't a primary key, but you can setup a distinct primary th...