Project
Ruby
Priority
Normal
Type
Bug
Fix versions
RubyMine 2.0 Beta 2
State
Obsolete
Assignee
Anna Bulenkova
Subsystem
Rails. Code Insight
Affected versions
No Affected versions
Fixed in build
No Fixed in build
  • Created by   Roman Chernyatchik
    2 years ago (08 Jul 2009 01:36)
  • Updated by   Dmitry Jemerov
    2 years ago (21 Sep 2009 22:45)
  • Jira: RUBY-4472
    (history, comments)
 
RUBY-4472 find( :condition => "whatever"), results in "Incorrect Call Argument Count"
0
Issue is visible to: All Users
  The issue is visible to the selected user group only

find( :condition => "whatever"), results in "Incorrect Call Argument Count"

class User < ActiveRecord::Base
  has_many :messages do
    def public
      find(:all, :conditions => {:hidden => false})
    end
  end
end


by Ross Hale
Comments (1)
 
History
 
Linked Issues (?)
 
Dmitry Jemerov
  Dmitry Jemerov
21 Sep 2009 22:45
2 years ago
Should be fixed already, please verify.
Related Changes
Resolved Date
2 years ago (21 Sep 2009 22:45)
Fixed In version
<lost change>RubyMine 2.0 Beta 2
State
OpenObsolete
Assignee
Roman Chernyatchik (romeo)Anna Bulenkova
Subsystem
<lost change>Rails. Code Insight