Tatsuya Ono
Not a member
Tatsuya Ono's latest activity
Wednesday, July 21 2010
5168
has_one through doesn't work on new record
was updated
in Ruby on Rails
-
-
Tatsuya Ono created the ticket at 9:27 AMHere is example:
class Organization < ActiveRecord::Base has_many :members end class Member < ActiveRecord::Base has_one :organization # or belongs_to end ...
Thursday, February 04 2010
3846
[PATCH][3.0] join doesn't work properly for association with :through
was created
in Ruby on Rails
-
Tatsuya Ono created the ticket at 1:47 AMWhen you define an association like the following ...
class Author has_many :author end class Post belongs_to :author end class Comment belongs_to :po...
3684
find creates wrong SQL when you set "has_one :through" association on :join o...
was updated
in Ruby on Rails
-
- Tag changed from activerecord associations, 2.3.5, activerecord to 2.3.5, 2.3.6, activerecord, associations
I upload a patch which does not contain unnecessary spaces.
This patch will probably need to be forward-ported to ARel too
I don't think that ARel itself is h...
Monday, January 11 2010
3684
find creates wrong SQL when you set "has_one :through" association on :join o...
was updated
in Ruby on Rails
-
- Tag changed from activerecord associations, activerecord to activerecord associations, 2.3.5, activerecord
-
- Title changed from invalid SQL is created when you set "has_one :through" association to :join to find creates wrong SQL when you set "has_one :through" association on :join option
-
Tatsuya Ono created the ticket at 11:33 PMI ran into an issue on has_one :through.
First patch(test_join_has_many_throgh.diff) adds test cases to reproduce the issue.
When you define an association like...
Tuesday, June 16 2009
2451
has_many :through associations give different results depending on eager-load...
was updated
in Ruby on Rails
-
Tatsuya Ono commented at 1:40 AMI wrote a patch for this issue against 2-3-stable.
I also put a simple project on github which allows you to reproduce this issue easily.
http://github.com/ono/...
Wednesday, April 08 2009
2459
ActiveSupport::Dependencies::load_missing_constant() fails to load
was created
in Ruby on Rails
-
Tatsuya Ono created the ticket at 7:54 PMClass autoload would be failed if the class to be loaded was located in the directory whose name is same as the class to load.
Example
in app/models/sample.rb:
...