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.

Pavel Gorbokon's latest activity

Thursday, December 02 2010
6104 [PATCH] Rails 2.3 Array#extract_options! loads relation for named_scope as la... was updated in Ruby on Rails
  • Pavel Gorbokon
    • Title changed from Rails 2.3 Array#extract_options! loads relation for named_scope as last element of array to [PATCH] Rails 2.3 Array#extract_options! loads relation for named_scope as last element of array
    by Pavel Gorbokon at 5:36 PM
  • Pavel Gorbokon
    Pavel Gorbokon created the ticket at 5:31 PM

    [Post.published].extract_options!

    it will load and initialize all published posts from database
    instead of just returning false on Post.published.is_a?(Hash)

    Ra...

Wednesday, November 24 2010
6052 [PATCH] Replace rudimentary named_scope with scope was updated in Ruby on Rails
  • Pavel Gorbokon
    • Title changed from Replace rudimentary named_scope with scope to [PATCH] Replace rudimentary named_scope with scope
    by Pavel Gorbokon at 8:23 AM
  • Pavel Gorbokon
    Pavel Gorbokon commented at 8:22 AM

    @_named_scopes_cache to @_scopes_cache Markdown ate _

    Here it is the patch

  • Pavel Gorbokon
    Pavel Gorbokon created the ticket at 8:15 AM
    • rename method names (actually in tests)
    • rename instance variable @named_scopes_cache to @scopes_cache
    • rename references in doc comments
    • don't touch CHANGELOG :...
Thursday, June 10 2010
4826 [PATCH] Spelling error in ActiveModel::Conversion docs was updated in Ruby on Rails
  • Pavel Gorbokon
    • Title changed from Spelling error in ActiveModel::Conversion docs to [PATCH] Spelling error in ActiveModel::Conversion docs
    by Pavel Gorbokon at 9:24 PM
  • Pavel Gorbokon
    Pavel Gorbokon commented at 9:23 PM
  • Pavel Gorbokon
    Pavel Gorbokon created the ticket at 9:19 PM

    active_model/conversion.rb:33

    fakse instead of false

Monday, May 31 2010
4736 [PATCH] Minor Module core_ext delegation clean up. Using Module#instance_meth... was updated in Ruby on Rails
  • Pavel Gorbokon
    Pavel Gorbokon commented at 9:16 AM

    Patch

  • Pavel Gorbokon
    Pavel Gorbokon created the ticket at 9:14 AM

    instance_methods(false).map(&:to_s).include?("#{prefix}#{method}")

    can be replaced with

    instance_method_names(false).include?("#{prefix}#{method}")