eagle.anton (at gmail)
Not a member
eagle.anton (at gmail)'s latest activity
Wednesday, February 09 2011
6367
Timezone aware attributes fail with nil assignments
was updated
in Ruby on Rails
-
eagle.anton (at gmail) commented at 9:52 AMIt seems like that is fixed in rails master here but rails-3-stable still isn't patched.
Monday, February 07 2011
6367
Timezone aware attributes fail with nil assignments
was updated
in Ruby on Rails
Monday, December 27 2010
6220
scope firings up on association
was updated
in Ruby on Rails
-
eagle.anton (at gmail) commented at 7:50 AMProblem was solved by AR#unscoped with block:
def self.some_action u = User.find(x) unscoped { u.posts } endTicket may be closed. Thank you.
Friday, December 24 2010
6220
scope firings up on association
was updated
in Ruby on Rails
-
- Tag changed from scope association to association, rails3, scope
-
eagle.anton (at gmail) created the ticket at 2:27 PMFor example:
class Post < ActiveRecord belongs_to :user scope :published, where(:published => true) def self.some_action u = User.find(x) u.pos...
Thursday, July 29 2010
-
- Tag changed from actionpack, helper to rails 3 rc, actionpack, helper
- Importance changed from to
Confirm bug in Rails 3 RC
Friday, July 23 2010
5185
unchanged attribute is changed [ActiveModel]
was updated
in Ruby on Rails
-
-
eagle.anton (at gmail) created the ticket at 1:37 PMActiveModel::Dirty has the example:
# Assigning the same value leaves the attribute unchanged: # person.name = 'Bill' # person.name_changed? # => false # ...
Wednesday, July 21 2010
5135
Slash gets escaped when globbing a route
was updated
in Ruby on Rails
-
- Tag changed from rails 3, tests actionpack, glob, router to rails 3, slash escape, tests actionpack, glob, router
Confirm this but not only for globbing.
For example this route:
match "/:path" => "pages#show", :constraints => {:path => /.+(\/.+)*/ } assert_routing '/direc...
Tuesday, April 06 2010
-
eagle.anton (at gmail) commented at 12:37 PMOk. Let's talk about workflow with postgres.
There are my steps:
There is i d...sudo -u postgres psql CREATE ROLE user_name with createdb login password 'pass';