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.

Emilio Tagua's latest activity

Wednesday, April 06 2011
6679 Query broken in Rails 3 (?) was created in Ruby on Rails
  • Emilio Tagua
    Emilio Tagua created the ticket at 3:25 PM

    This used to work for me in latest Rails 2.3, but it's broken on Rails 3.

    @opinion_polls = @organizer.opinion_polls.all(
      :select => "DISTINCT(opinion_polls.e...
Friday, February 25 2011
4991 Column definitions not cached for calculations on has_many association with :... was updated in Ruby on Rails
  • Emilio Tagua
    • State changed from needs-more-info to resolved
    by Emilio Tagua at 1:53 PM

    Indeed, it looks like it was resolved in #5392

    I'm changing it to resolved, if any of you still experience the problem, please re open it.

    Thanks.

Tuesday, September 21 2010
4270 Arel 0.3.2 broke non-standard column types was updated in Ruby on Rails
Friday, September 10 2010
5610 Add more useful examples to performance script was created in Ruby on Rails
  • Emilio Tagua
    Emilio Tagua created the ticket at 9:11 PM

    Here are both patches for 2.3 and master.

Tuesday, August 31 2010
5500 arel_table.as("xxx") throws nil was updated in Ruby on Rails
Wednesday, June 30 2010
4991 Column definitions not cached for calculations on has_many association with :... was updated in Ruby on Rails
  • Emilio Tagua
    Emilio Tagua commented at 2:51 PM

    Rolf,

    I tried running this test on MySQL, PostgreSQL and Sqlite3:

    
      def test_calculations_on_has_many_association_with_include_should_not_reload_column_defini...
Tuesday, June 29 2010
4951 Rails Console Executes Where Queries without lazy loading was updated in Ruby on Rails
  • Emilio Tagua
    • State changed from new to invalid
    • Importance changed from to Low
    by Emilio Tagua at 2:53 PM

    Queries are lazy loaded, the thing is that in irb every line is inspected so the query is executed.

    Try running the same in a controller:

     @cats = Cat.where(:i...
4991 Column definitions not cached for calculations on has_many association with :... was updated in Ruby on Rails
  • Emilio Tagua
    • State changed from new to invalid
    by Emilio Tagua at 2:31 PM

    Hey Rolf,

    I don't think column information is being reload from database, those test just ask if columns method is invoked, which it is but the db is never quer...

Wednesday, June 23 2010
4882 ActiveRelation bug; size() returning incorrect value with limit(). was updated in Ruby on Rails
Sunday, June 20 2010
4860 Refactor build_arel was updated in Ruby on Rails
  • Emilio Tagua
    Emilio Tagua commented at 7:55 PM

    José,

    I applied build_arel_2.diff in a fresh master, I don't know why you couldn't.

    I attach a new patch with same changes, hope this time works for you.

    Thanks...