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.

This project is archived and is in readonly mode.

Activity (RSS)

Monday, May 16 2011
6722 Add autocomplete="off" Attribute to the authenticity_token of form_tag was updated
  • Florent Viard
    Florent Viard commented at 5:04 PM

    It is true, but this problem is really bad when you suffer of it and there is a lot of bug reports related to it.

    I think that it is not so bad to add it as a t...

  • Greg Molnar
    Greg Molnar commented at 4:47 PM

    As far as I know the autocomplete attribute is not valid in xhtml so not sure if this would be a good idea to add.

6784 ActiveRecord::Base#method_missing has inconsistent handling of blocks was created
  • Jeremy Friesen
    Jeremy Friesen created the ticket at 4:56 PM

    ActiveRecord::Base#method_missing delegates to various other method calls. In the case of a DynamicFinderMatch, when calling .find_by_attributes no block is pas...

Sunday, May 15 2011
6783 Rails 3.0.3 Controller inheritance is broken was updated
  • jamesw
    jamesw commented at 8:15 PM

    Sorry, My mistake.
    I had a corrupted routes.rb file.
    A totally new project did not have this problem.
    Please close this ticket

  • jamesw
    jamesw commented at 5:07 PM

    Further investigation shows the same issue on Rails 3.0.7 but I'm unable to test on 3.1 beta1 as I am unable to get 3.1 beta1 apps to run (I'm getting an error ...

  • jamesw
    jamesw commented at 3:28 PM

    Oh well! Formatting still isn't right please feel free to delete the above comment and this one

  • jamesw
    jamesw commented at 3:27 PM

    Sorry for the unformatted code
    This is the code formatted (hopefully easier to read (That'll teach me not to hit the preview button)
    @@@ class ApplicationContro...

  • jamesw
    jamesw created the ticket at 3:10 PM

    I'm just starting a new app and I'm using Rails 3.0.3
    I have the typical admin and customer name spaces with no namespace for all public areas and I have a typi...

5412 [Patch] Rails schema_format :sql should behave like schema_format :ruby was updated
3409 [PATCH]content_for and fragment caching was updated
  • opsb
    opsb commented at 1:50 PM

    Thank you so much for this. We really wanted to start using action caching with memcache, it was a no go without this patch.

6779 ActiveSupport::TimeWithZone in Range performance bug was updated
  • debosh
    debosh commented at 10:32 AM

    I can also confirm.

    I've found the bug and I'm creating patch.

6782 3.0.7: the model uses 'id' field even when 'set_primary_key :uid' set was created
  • Roland Pallai
    Roland Pallai created the ticket at 1:37 AM

    Rails console:

    > Rails.version
    => "3.0.7"
    > User.primary_key
    => "uid"
    > User.last.uid
    => 54306
    > User.last.attributes['id']
    => 54306
    > User.last.id
    => 3
    > User...
Saturday, May 14 2011
2503 validates_uniqueness_of is horribly inefficient in mysql was updated
6781 AssociationScope#add_constraints, habtm, wrong primary_key was created
  • Marian Rudzynski
    Marian Rudzynski created the ticket at 6:30 PM

    Take these two classes:

    class User < ActiveRecord::Base
      set_primary_key :wtf_id
      has_and_belongs_to_many :badges, :join_table => "user_badges"
    end
    
    class B...
6779 ActiveSupport::TimeWithZone in Range performance bug was updated
  • nmunson
    nmunson commented at 6:03 AM

    I can confirm it happens on Ruby 1.8.7 and Rails 3.0.0, the example line takes 10+ seconds to run. The "doesn't have an issue" code works instantly as it did fo...

Friday, May 13 2011
6603 rake db:test:clone_structure might fail with multiple schemas in postgres. was updated
  • Juan Manuel Cuello
    Juan Manuel Cuello commented at 9:39 PM

    The first patch I attached does not apply anymore because 'databases.rake' changed.

    This is the same patch but created recently from 'master'.

6780 ActionDispatch::RailsMetaStore returns corrupt Rack responses with MemoryStore was created
  • Nathaniel Bibler
    Nathaniel Bibler created the ticket at 4:31 PM

    This bug causes cached asset responses to be invalid after two successful requests. This means that with ActionController caching enabled in production, assets ...

1902 establish_connection does not support joins was updated
6217 has_many :through associations are created with .create! even if the parent i... was updated
  • hemant
    • Tag changed from activerecord, has_many_through, validation to :confirm, activerecord, has_many_through, testcase, validation
    by hemant at 10:16 AM

    +1 The issue exists in edge rails and all previous versions.
    I've attached a failing test.

    I see that in activerecord/lib/active_record/associations/has_many_th...

6779 ActiveSupport::TimeWithZone in Range performance bug was created
  • Bogdan Gusiev
    Bogdan Gusiev created the ticket at 8:28 AM

    We discovered that some operations on the Range class of ActiveSupport::TimeWithZone is slow.

    Example:

    (10.days.ago..3.days.ago).min
    

    Will have more than 5 sec...

4231 Not unique table/alias: was updated
  • Vladimir Meremyanin
    Vladimir Meremyanin commented at 8:13 AM

    I doubt it's the same problem as topic starter had, but symptoms are very similary. Here is the test:

      def test_do_not_duplicate_table_name_used_in_has_many_t...
Thursday, May 12 2011
5847 Rails 3.0.1 - config.action_view.cache_template_loading is missing was updated
  • Robert Pankowecki
    Robert Pankowecki commented at 10:06 PM

    @rubyconvict - Nice to hear from you again, Marcin. As you can see, we still encounter same bugs, even when working for new companies and in different cities.

  • José Valim
    José Valim commented at 11:38 AM

    This is surely on rails 3.1.

  • rubyconvict
    rubyconvict commented at 11:11 AM

    I checked in 3.0.5 and 3.0.7, and this code is not implemented. I have the problem with BrowserCMS for R3 where I need page template/partial reloading on produc...

6772 Polymorphic type fields not set in Rails 3.1.0.beta1 with Identity Map enabled was updated
6777 rails g scaffold does not respect --force or --skip switches was updated
6778 Rails 2.3.11 fails with newer Rubygems (~1.8.1) was updated
Wednesday, May 11 2011
6777 rails g scaffold does not respect --force or --skip switches was created
  • Nizar Jouini
    Nizar Jouini created the ticket at 11:51 PM

    Hi!

    Running:

    rails new blog
    rails g model post title:string
    rails g scaffold post title:string body:text

    Will fail: Another migration is already named create_po...

6776 Return objects from ActiveRecord::Relation.find in argument order was created
  • David Phillips
    David Phillips created the ticket at 7:14 PM

    When performing an un-ordered find query, I often want the objects in argument order:

    Person.find(1, 2, 3) -> [#<Person id: 1>, #<Person id: 2>, #<Person id: 3...
6775 Scope joins with distinct only work through association and not on base model was created
  • joel
    joel created the ticket at 5:53 PM

    I have a Movie model with showtimes and theaters that looks like this:

    class Movie < ActiveRecord::Base
    has_many :showtimes has_many :theaters, :through => :sho...

1711 Has many through association with :order causes a SQL error with PostgreSQL was updated
6774 AR#column_names doesn't get all columns was created
  • le_fnord
    le_fnord created the ticket at 11:10 AM

    on some tables I have the error "column doesn't exist", but they do.

    I found the error in AR/base ... see diff:

    diff --git a/activerecord/lib/active_record/base...

6773 Race condition in ActionController::Caching::Pages was created
  • Stephen Judkins
    Stephen Judkins created the ticket at 2:05 AM

    Using JRuby 1.6.0, we saw a corrupt file created by Rails' page caching. It appeared that multiple threads were able to write simultaneously to a cache file.

    We...

Tuesday, May 10 2011
2976 has_one :through preload drops conditions was updated
  • ssupreme11
    ssupreme11 commented at 10:39 PM

    Its my first time to visit this site and as I was exploring I cant believe that this site was made up of a very informative articles that you should try to have...

2852 accepts_nested_attributes_for creating new associated record when one already... was updated
  • ssupreme11
    ssupreme11 commented at 10:39 PM

    Its my first time to visit this site and as I was exploring I cant believe that this site was made up of a very informative articles that you should try to have...

385 Small confusion around config.action_view.cache_template_loading was updated
  • ssupreme11
    • Importance changed from to
    by ssupreme11 at 10:38 PM

    Its my first time to visit this site and as I was exploring I cant believe that this site was made up of a very informative articles that you should try to have...

2831 [PATCH] ActiveSupport::JSON.decode explodes in certain circumstances was updated
  • ssupreme11
    • Importance changed from to
    by ssupreme11 at 10:38 PM

    Its my first time to visit this site and as I was exploring I cant believe that this site was made up of a very informative articles that you should try to have...

2991 After Transaction Patch was updated
  • ssupreme11
    ssupreme11 commented at 10:36 PM

    Its my first time to visit this site and as I was exploring I cant believe that this site was made up of a very informative articles that you should try to have...

4427 Strange behaviour in exception display was updated
  • ssupreme11
    ssupreme11 commented at 10:34 PM

    Its my first time to visit this site and as I was exploring I cant believe that this site was made up of a very informative articles that you should try to have...

879 Finding the days/weeks/months/years between two dates was updated
  • ssupreme11
    ssupreme11 commented at 10:31 PM

    Its my first time to visit this site and as I was exploring I cant believe that this site was made up of a very informative articles that you should try to have...

4742 Can't get valid session key via request.session_options[:key] when using Cook... was updated
  • ssupreme11
    ssupreme11 commented at 10:30 PM

    Its my first time to visit this site and as I was exploring I cant believe that this site was made up of a very informative articles that you should try to have...

2058 Rake tasks for run engine migrations was updated
  • ssupreme11
    ssupreme11 commented at 10:28 PM

    Awesome collection of dog houses. I am impressed!

    Regards,
    Dissertation Help

  • symennerren
    symennerren commented at 7:36 AM

    Originally an engine was a mechanical device that converted force into motion. Military devices such as catapults, trebuchets and battering rams are referred to...

6772 Polymorphic type fields not set in Rails 3.1.0.beta1 with Identity Map enabled was created
  • Brian Buchalter
    Brian Buchalter created the ticket at 8:59 PM

    I believe the identity map functionality of Rails 3.1.0.beta1 has broken polymorphic associations.

    See below for steps to recreate

    Application.rb

    config.active...
6201 Rails config.active_record.schema_format = :sql ignores triggers in mysql was updated
  • dave
    dave commented at 4:46 PM

    Still an issue on Rails 3.0.6

5916 Wrong variable quoted in dbconsole error was updated
  • David Kelso
    • State changed from stale to open
    by David Kelso at 9:31 AM

    [state:open]

    C'mon guys. It's a one line patch.

6147 find_or_create via has_many fails for hash parameters was updated
  • Brian Finney
    Brian Finney commented at 12:49 AM

    Hey Jeff

    I believe the issue you're seeing is unrelated to this patch. This bug is specific to using hash parameters to effect the create_by statement and the p...

Monday, May 09 2011
6306 Collection Associations Build Method Not Supported for STI was updated
  • Marc-André Lafortune
    Marc-André Lafortune commented at 9:11 PM

    Got bitten by this. A solution for this problem would be nice.