Dmitry Ratnikov
Developer · Not a member
Dmitry Ratnikov's latest activity
Wednesday, March 09 2011
-
Dmitry Ratnikov commented at 7:45 PMHere's a piece of code similar to what originally caused the issue:
@posts = Post.offset(10).limit(10)
<% unless @posts.empty? -%>
<% @posts.each do |post| -%>...
Friday, December 18 2009
-
Dmitry Ratnikov commented at 9:02 PMTo be honest, I was leaning towards something like to underline the differences between new_record and not:
def include?(record) return false unless ...
Monday, November 23 2009
-
- Tag changed from patch to for, patch
Patches passes tests for mysql and sqlite3 adapters for 2-3-stable branch.
-
-
- Tag cleared.
Looks good to me :)
I will apply that to 2.3 stable to check that it works.
I'll also check that it works if the has_many has finder_sql defined.
Monday, November 09 2009
-
Dmitry Ratnikov created the ticket at 5:59 AMConsider:
class Post < ActiveRecord::Base has_many :comments end class Comment < ActiveRecord::Base belongs_to :post endThe following test fails:
def ...
Sunday, September 27 2009
Sunday, August 09 2009
-
-
Dmitry Ratnikov commented at 9:56 AMHere's an updated patch.
I made the tests actually fail rather than blow up.
Also, I had to resort to removing constants possibly defined by requiring models/co... -
Dmitry Ratnikov commented at 7:00 AMFor some reason I fail to update the ticket with the attacked patch, so I put it on drop.io for now: http://drop.io/urxdaxz If someone has better luck attaching...