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)

Tuesday, April 05 2011
5474 ActionController::TestCase fails to recognise valid routes was updated
  • rails
    • State changed from open to stale
    by rails at 1:01 AM
  • rails
    • State changed from needs-more-info to open
    by rails at 1:01 AM

    This issue has been automatically marked as stale because it has not been commented on for at least three months.

    The resources of the Rails core team are limit...

974 attribute_type is not set to null if :dependent => :nullify is specified for ... was updated
  • rails
    • Tag changed from 3.0, activerecord, association, bug, nullify, polymorphic to 30, activerecord, association, bug, nullify, polymorphic
    • State changed from incomplete to open
    by rails at 1:01 AM

    This issue has been automatically marked as stale because it has not been commented on for at least three months.

    The resources of the Rails core team are limit...

4698 behavior changed for fields_for_nested_model was updated
  • rails
    • Tag changed from 2.3.5, actionview, formbuilder to 235, actionview, formbuilder
    • State changed from new to open
    by rails at 1:01 AM

    This issue has been automatically marked as stale because it has not been commented on for at least three months.

    The resources of the Rails core team are limit...

5149 Inserting integer saves different value was updated
  • rails
    • Tag changed from create, field_type, integer, mysql, rails3, ruby1.9 to create, field_type, integer, mysql, rails3, ruby19
    • State changed from new to open
    by rails at 1:00 AM

    This issue has been automatically marked as stale because it has not been commented on for at least three months.

    The resources of the Rails core team are limit...

3339 Giving same association in :include and :join can result in table being joine... was updated
  • rails
    • State changed from open to stale
    by rails at 1:00 AM
  • rails
    • State changed from new to open
    by rails at 1:00 AM

    This issue has been automatically marked as stale because it has not been commented on for at least three months.

    The resources of the Rails core team are limit...

6248 send_file results in 0 byte download after upgrading to Ruby 1.9.2-p136 was updated
  • rails
    • State changed from open to stale
    by rails at 1:00 AM
  • rails
    • Tag changed from ruby 1.9.2, ruby1.9.2, ruby1.9.2-p136, send_file to ruby 192, ruby192, ruby192-p136, send_file
    • State changed from new to open
    by rails at 1:00 AM

    This issue has been automatically marked as stale because it has not been commented on for at least three months.

    The resources of the Rails core team are limit...

2196 JSON encoding breaks when JSON gem is loaded before Active Support was updated
  • rails
    • State changed from new to open
    by rails at 1:00 AM

    This issue has been automatically marked as stale because it has not been commented on for at least three months.

    The resources of the Rails core team are limit...

5809 'template is missing' when trying to use render_to_string in controller#action was updated
  • rails
    • State changed from open to stale
    by rails at 1:00 AM
  • rails
    • State changed from new to open
    by rails at 1:00 AM

    This issue has been automatically marked as stale because it has not been commented on for at least three months.

    The resources of the Rails core team are limit...

6249 has_many_association#delete_all fails when using :dependent => :restrict was updated
  • rails
    • State changed from open to stale
    by rails at 1:00 AM
  • rails
    • State changed from new to open
    by rails at 1:00 AM

    This issue has been automatically marked as stale because it has not been commented on for at least three months.

    The resources of the Rails core team are limit...

Monday, April 04 2011
6006 Nested Attributes: _destroy should work independent of reject_if was updated
  • Santiago Pastorino
    Santiago Pastorino commented at 11:59 PM

    Hey Durran I'm going to push your fix but can you rebase the patch. Doesn't apply cleanly anymore :(.
    Thanks.

  • Dennis Rogenius
    Dennis Rogenius commented at 10:41 PM

    +1 just ran into this

5680 after_update callback called when cascade destroying an association was updated
6634 Rails/Rack inconsistency about `:expires_after`/`:expires` cookie option. was updated
6127 after_initialize may lead to missing attribute when used with uniqueness vali... was updated
  • John Berry
    John Berry commented at 10:29 PM

    I can confirm that that patch fixes our problem with validates_uniqueness_of. Thanks.

6666 save (ActiveRecord::Persistence) can return true even when the model is not s... was updated
  • Neeraj Singh
    • State changed from resolved to open
    by Neeraj Singh at 8:14 PM

    @Alexey. Now I see your point.

    class User < ActiveRecord::Base
      def self.lab
        u1 = User.create
        User.delete_all
        u1.name = 'foo'
        puts u1.save #=>...
  • Alexey Muranov
    Alexey Muranov commented at 6:27 PM

    Ok, i see your point. However, if the record is deleted in the background by another process, save is going to return true without saving anything. Is this a de...

  • Neeraj Singh
    Neeraj Singh commented at 6:06 PM

    Before hitting save you are doing

    p.name = "John"
    

    Now that line is throwing exception since the object is frozen. So you don't even get to save method.

  • Alexey Muranov
    Alexey Muranov commented at 1:36 PM

    This does not resolve the issue that save returns true without saving in the above examples, or if the record has been deleted in the background by another appl...

  • Neeraj Singh
    • State changed from new to resolved
    by Neeraj Singh at 1:28 PM

    Fixed in https://github.com/rails/rails/commit/b35617235d43bdb32016a623044e7... .

    Make sure that in console first you do

    ActiveRecord::IdentityMap.enabled = t...
3 earlier changes…
  • Alexey Muranov
    Alexey Muranov commented at 8:37 AM

    The main issue here that i consider a bug is that save returns true despite not saving.

  • Neeraj Singh
    Neeraj Singh commented at 5:04 AM

    It seems miloops has a fix for Identity mapping. https://github.com/rails/rails/pull/251/files

  • Neeraj Singh
    • Importance changed from to Low
    by Neeraj Singh at 4:33 AM

    Following code is causing problem

    p = Person.create(:name=>'Bill')
    Person.find(p.id).destroy
    p.persisted?     # => true
    p.destroyed?     # => false
    p.name = "J...
6645 Rails 3 rescue_from cannot handle custom exceptions was updated
  • bluepojo
    bluepojo commented at 7:17 PM

    It looks like you used throw instead of raise to raise an exception. throw is for a catch :something { throw :something } control flow construct and is unrelate...

2358 new smart render misses arguments was updated
4908 [feature-request] db seed files for each environment. was updated
  • james2m
    james2m commented at 4:58 PM

    @postmodern If it's useful to you, I put together a little gem to do this Seedbank. It lets you have seeds for different environments.

3610 has_many :through associations may not respect default_scope :conditions was updated
  • Brian Underwood
    Brian Underwood commented at 3:34 PM

    I'm also having this issue. If you're defining as association with "through", the through model should be considered. Seems like a bug to me, or at least the wa...

2472 6.days.from_now.to_s(:db) forces utc was updated
  • Kevin Kohrt
    Kevin Kohrt commented at 1:57 PM

    A solution I have seen used to sychronize Time.now and Rails ActiveSupport is to use the TZ environment variable, e.g.

    ENV['TZ'] = 'UTC'
    

    This may require the ...

6670 create a back daily was updated
  • Josh Kalderimis
    • State changed from new to invalid
    • Importance changed from to Low
    by Josh Kalderimis at 12:10 PM

    Hi Moka,

    I would suggest you check out one of the Ruby or Rails google groups or message boards regarding this as its not an issue but just a general question o...

  • moka
    moka created the ticket at 12:06 PM

    Hi

    In my internship i have to do a a dairly back up in ruby and deploy it on heroku

    Can you help please ?

    thanks

6669 UJS-prototype: :confirm does not work on a button_to was updated
  • Martin Troels "DarkFox" Eberhardt
    Martin Troels "DarkFox" Eberhardt commented at 11:56 AM

    This is in Rails 3.0.3 with the latest prototype-UJS from github, by the way.

    The action is in rails.js around 'document.on("submit"' and 'function allowAction(...

  • Martin Troels "DarkFox" Eberhardt
    Martin Troels "DarkFox" Eberhardt created the ticket at 11:47 AM

    This issue seems to stem from rails.js only checking for data-confirm on the element, and not on the button that is clicked.

    Example code:
    <%= button_to 'confir...

remove AM delegating register_observe... was committed by Josh Kalderimis at 9:50 AM
Add log message when loading records ... was committed by Emilio Tagua at 9:49 AM
Use IM when trying to load records us... was committed by Emilio Tagua at 9:49 AM
6668 ActiveRecord scopes accumulate joins in reverse order was created
  • Greg Hazel
    Greg Hazel created the ticket at 4:11 AM

    ActiveRecord (2.3.11) accumulates joins in reverse order, leading to incorrect queries:

    >> User.scoped(:joins => "INNER JOIN profiles ON users.id = profiles.us...
6659 Fix misspelling of 'lambda' in test was updated
  • Rohit Arondekar
    • State changed from new to open
    • Assigned user set to José Valim
    by Rohit Arondekar at 1:24 AM

    Ben, my bad! :)

  • Ben Orenstein
    Ben Orenstein commented at 1:10 AM

    Rohit -- this isn't a documentation change though, it's a code change.

    I'm pretty sure docrails isn't the place for this. Could you take a second look?

    Thanks!

6235 ActiveRecord should not silently discard values it can't typecast was updated
  • rails
    • State changed from open to stale
    by rails at 1:00 AM
  • rails
    • State changed from new to open
    by rails at 1:00 AM

    This issue has been automatically marked as stale because it has not been commented on for at least three months.

    The resources of the Rails core team are limit...

6230 Optimistic locking: Quoting id applied twice for update statement was updated
  • rails
    • State changed from open to stale
    by rails at 1:00 AM
  • rails
    • State changed from new to open
    by rails at 1:00 AM

    This issue has been automatically marked as stale because it has not been commented on for at least three months.

    The resources of the Rails core team are limit...

6667 Rails 3.05 breaks request.session_options[:id] from working the same as 3.03 was created
  • daleb
    daleb created the ticket at 12:00 AM

    I have an application that has been working for months using Rails 3.03. I did an upgrade to 3.05 and request.session_options[:id] broke. For some reason it doe...