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)

Sunday, April 03 2011
Add railties to the LOAD_PATH if runn... was committed by Santiago Pastorino at 11:19 PM
Merge branch 'master' of git://github... was committed by Xavier Noria at 9:23 PM
s/ERb/ERB/g (part II) https://github.... was committed by Akira Matsuda at 9:23 PM
s/ERb/ERB/g The author of ERB sais, ... was committed by Akira Matsuda at 9:23 PM
added .'s to headings in the initiali... was committed by orta at 9:23 PM
6666 save (ActiveRecord::Persistence) can return true even when the model is not s... was updated
  • Alexey Muranov
    Alexey Muranov commented at 3:17 PM

    In fact, i think that if in item (3) above destroyed? is not removed but only deprecated, than the suggested changes should not break most of applications...

  • Alexey Muranov
    Alexey Muranov commented at 12:56 PM

    I want however to state what behavior would look to me natural and "least surprising", or how i would have changed this part of ActiveRecord::Persistence if the...

  • Alexey Muranov
    Alexey Muranov commented at 12:43 PM

    I am new to Rails, i am only starting my first Rails application, so please feel free to express your opinions about this problem, or how it should be dealt wit...

  • Alexey Muranov
    Alexey Muranov created the ticket at 12:35 PM

    These two examples illustrate the unexpected (to me) behavior of save method in ActiveRecord::Persistence for a sample application created with

    $ rails new tes...
6569 collection_singular_ids ignores association :include option was updated
6659 Fix misspelling of 'lambda' in test was updated
6665 Block syntax for update_attributes was updated
  • Jakob S
    Jakob S commented at 10:54 AM

    /pwned by Lighthouse code formatting :(

    Attached revised patch with docs for the changes.

  • Jakob S
    Jakob S created the ticket at 10:48 AM

    ActiveRecord::Base#new and #create accepts both a Hash of attributes and a block:

      User.create(:first_name => 'Jamie') do |u|
        u.is_admin = false
      end
    

    Th...

6002 [PATCH] Ignore domain :all option if host is IP address or localhost was updated
  • Aaron Hamid
    Aaron Hamid commented at 4:58 AM

    this is awesome, thanks Ravil! I spent so much time working around issues related to this.

Bump up erubis to 2.7.0 https://githu... was committed by Santiago Pastorino at 4:11 AM
Implicit actions named not_implemente... was committed by Santiago Pastorino at 3:49 AM
Saturday, April 02 2011
6664 active support class to path conventions for autoload was updated
  • Dawid Marcin Grzesiak
    Dawid Marcin Grzesiak commented at 10:55 PM
  • Dawid Marcin Grzesiak
    Dawid Marcin Grzesiak created the ticket at 10:52 PM

    I want to have an ability to setup my own class to path convention for autoloading feature, ie:

    Normally AS works like that
    MyNew::Class::Path => my_new/class/p...

948 template lookup should search controller inheritance chain was updated
  • José Valim
    José Valim commented at 9:32 PM

    As the milestone says, 3.1.

  • TuteC
    TuteC commented at 9:29 PM

    I can't make it work on Rails 3.0.5, neither adding 'config.template_inheritance = true' to my application.rb file. Is it published on Rails 3.0, or will it be ...

497 ActiveRecord#calculate broken for multiple fields in :group option was updated
  • Ben Woosley
    Ben Woosley commented at 9:20 PM

    Also, I'll be taking another look at it this weekend.

  • Ben Woosley
    Ben Woosley commented at 9:18 PM

    I can confirm this isn't fixed. And +1 for getting it fixed.

Gem::Specification#has_rdoc= is depre... was committed by Santiago Pastorino at 4:36 AM
default_executable is deprecated sinc... was committed by Santiago Pastorino at 3:59 AM
6022 Content negotiation fails for some */* headers (regression) was updated
  • William Denniss
    William Denniss commented at 3:11 AM

    I think the monkey patch above isn't a bad idea actually – as a fallback. Maybe an option like this could actually be considered for inclusion? Otherwise, aren'...

6661 Multiple having calls on an ActiveRecord::Relation causes "wrong number of ar... was updated
  • Lewis Marshall
    Lewis Marshall commented at 12:59 AM

    I've spotted the problem with this.

    Looking at the latest rails/arel source, Arel::SelectManager#having takes multiple arguments but Arel::Table#having only tak...

543 Logging from rake tasks is broken in production environment was updated
  • Ryan Bigg
    • State changed from open to resolved
    by Ryan Bigg at 12:36 AM
  • Ryan Bigg
    Ryan Bigg commented at 12:36 AM

    If you come across this error, it's because you're not flushing the log output. Use this which will automatically flush the log on every log call:

    Rails.logger....

  • Ryan Bigg
    • State changed from wontfix to open
    • Importance changed from to
    by Ryan Bigg at 12:32 AM

    This is still happening. This should not be marked as "wontfix" without a good reason.

Friday, April 01 2011
5322 Rails3 RC - AREL does not work with multiple schemas using MySQL was updated
  • Joe Goggins
    • Tag changed from arel, mysql2, rails3.0.1, rails3.0.3, rails3.0rc to arel, mysql2, rails3.0.1, rails3.0.3, rails3.0.6.rc2, rails3.0rc
    by Joe Goggins at 11:12 PM

    Hi Aaron,

    This problem does not seem fixed, even with your change as is committed in 3.0.6.rc2 commit =ea8fcfb729c0bca528d2e8522585cd6d0e98ebc7

    A class defined ...

5885 as_json does not get called when using the include param in the to_json metho... was updated
6635 url_for not matching route was updated
  • mikemaltese
    mikemaltese commented at 9:07 PM

    Right, it works now, I'm not sure what was happening before. Thanks!

6660 Allow after_commit :do_something, :on => [:update, :create] was updated
  • bgentry
    bgentry commented at 9:04 PM

    I still thing it's a valid bug, the behavior is certainly not as I'd expect. Callbacks are never supposed to override each other like this. At a glance it didn'...

  • Ary Borenszweig
    Ary Borenszweig commented at 8:29 PM

    Yes, thanks! That worked. So what do we do about this? Close as invalid? Still propose to do it? (I will try to make a patch for this)

  • bgentry
    bgentry commented at 8:25 PM

    Also, I believe you can work around this exact issue by defining a single callback and only running it if the object is persisted:

    after_commit :do_something, ...
  • bgentry
    • Tag set to callbacks
    by bgentry at 8:16 PM

    I just encountered this same bug today and was fortunate to find this bug report from a day ago. I have the same situation and I'd like to run the same actions ...

6440 Session Reset undefined method `destroy' for {}:Hash was updated
  • tiegz
    tiegz commented at 6:41 PM

    Having the same issue, +1!

    Related, it looks like you might have seen this similar issue in master and augmented your solution to match?

    https://rails.lighthou...

6026 [PATCH] response_body proc is called twice was updated
  • Doug Mayer
    Doug Mayer commented at 4:11 PM

    @naruse: Are you able to try out my patch at all? I'm not sure how to get more traction on having it applied. :-/

6663 Loading rails/cli with missing plugin provides obscure error was created
  • Samu Voutilainen
    Samu Voutilainen created the ticket at 2:02 PM

    In Gentoo ebuilds there is bug that Rails doesn’t depend on rake where railties needs it. When trying to use rails(with any argument), one gets fun error messag...

6662 File#flock can't lock read-only File for exclusive access was created
  • Charles Oliver Nutter
    Charles Oliver Nutter created the ticket at 10:12 AM

    On Solaris and (recently) on JRuby, File#flock will raise EBADF when attempting to acquire an exclusive lock on a File that has only been opened for read.

    The c...

1722 Add magic encoding comment to generated files was updated
955 Add magic encoding comment to generated files was updated
2355 Add magic encoding comment to generated files was updated
900 Add magic encoding comment to generated files was updated
701 Add magic encoding comment to generated files was updated
1274 Add magic encoding comment to generated files was updated
4807 Add magic encoding comment to generated files was updated
2736 Add magic encoding comment to generated files was updated
1202 Add magic encoding comment to generated files was updated
5759 Add magic encoding comment to generated files was updated