index
:
rails.git
3-2-stable-for-hmno
master
Mirror of official rails repo with custom fixes.
Harald Eilertsen
about
summary
refs
log
tree
commit
diff
stats
log msg
author
committer
range
path:
root
/
activerecord
/
lib
/
active_record
/
locking
/
optimistic.rb
Commit message (
Expand
)
Author
Age
Files
Lines
...
*
Improve readonly examples and optimistic locking docs
Carlos Antonio da Silva
2012-01-31
1
-4
/
+6
*
Support configuration on ActiveRecord::Model.
Jon Leighton
2011-12-28
1
-1
/
+4
*
Deal with global config better between AR::Base and AR::Model
Jon Leighton
2011-12-24
1
-4
/
+1
*
Make read_attribute code path accessible at the class level
Jon Leighton
2011-12-22
1
-15
/
+12
*
remove deprecated set and original methods for table_name, primary_key, etc
Sergey Nartimov
2011-12-21
1
-9
/
+1
*
Avoid super; speeds up Model.new by about 12%
Jon Leighton
2011-12-14
1
-1
/
+1
*
Deprecate set_locking_column in favour of self.locking_column=
Jon Leighton
2011-11-29
1
-8
/
+13
*
Added a note that optimistic locking also needs a hidden field to function ac...
Joost Baaij
2011-10-25
1
-0
/
+3
*
Consider attempted action in exception message of ActiveRecord::StaleObjectError
Christian Bäuerlein
2011-10-14
1
-2
/
+2
*
Includes stale record in StaleObjectError
Christian Bäuerlein
2011-10-14
1
-2
/
+2
*
Make it the responsibility of the connection to hold onto an ARel visitor for...
Jon Leighton
2011-08-08
1
-2
/
+2
*
lock_optimistically is typically true, so evaluate the common failure case first
Aaron Patterson
2011-06-28
1
-1
/
+1
*
Better doc styling in ActiveRecord::Locking
Sebastian Martinez
2011-05-17
1
-15
/
+15
*
Don't quote ID's as Arel will quote them -- follow same conventions as the de...
Christopher Meiklejohn
2011-05-08
1
-1
/
+1
*
remove some blanks
Paco Guzman
2011-03-11
1
-1
/
+1
*
removed some duplication from LH issue 5505 regarding AR touch and optimistic...
Josh Kalderimis
2011-02-09
1
-4
/
+10
*
removing more calls to deprecated methods
Aaron Patterson
2010-12-02
1
-2
/
+4
*
Remove explicit return.
Emilio Tagua
2010-11-25
1
-1
/
+1
*
Reuse lock_col variable instead calling locking_column class method.
Emilio Tagua
2010-11-25
1
-3
/
+4
*
Don't create local vars.
Emilio Tagua
2010-11-24
1
-4
/
+1
*
use persisted? instead of new_record? wherever possible
David Chelimsky
2010-11-09
1
-1
/
+1
*
Set destroyed=true in opt locking's destroy [#5058 state:resolved]
Jacob Lewallen
2010-07-14
1
-0
/
+1
*
Use arel instead of sql strings
Pratik Naik
2010-05-11
1
-6
/
+5
*
eliminate alias_method_chain from ActiveRecord
wycats
2010-05-09
1
-19
/
+8
*
Destroy respects optimistic locking.
Curtis Hawthorne
2010-04-27
1
-1
/
+34
*
Dont delegate Relation#update to arel
Pratik Naik
2010-01-20
1
-1
/
+1
*
Give preference to to_a over arel from Relation#method_missing
Pratik Naik
2010-01-19
1
-2
/
+2
*
Rename Model.active_relation to Model.unscoped
Pratik Naik
2010-01-17
1
-1
/
+1
*
Rename Model.arel_table to Model.active_relation
Pratik Naik
2010-01-02
1
-4
/
+4
*
Remove unncessary arguments passed to arel_table
Pratik Naik
2010-01-01
1
-1
/
+1
*
Revert "Ensure Model#destroy respects optimistic locking"
Jeremy Kemper
2009-11-17
1
-34
/
+0
*
Cache arel_table when possible, use class method arel_table instead
Emilio Tagua
2009-08-18
1
-2
/
+6
*
Performance: cache/reload arel relation when possible to speed up things.
Emilio Tagua
2009-07-21
1
-2
/
+2
*
Merge commit 'rails/master'
Emilio Tagua
2009-06-02
1
-1
/
+1
|
\
|
*
Break up DependencyModule's dual function of providing a "depend_on" DSL and ...
Joshua Peek
2009-05-28
1
-1
/
+1
*
|
Merge commit 'rails/master'
Emilio Tagua
2009-05-12
1
-8
/
+8
|
\
|
|
*
Use DependencyModule for included hooks in ActiveRecord
Bryan Helmkamp
2009-05-11
1
-8
/
+8
*
|
Refactor to use arel_table method, and also use the same method name for inst...
Emilio Tagua
2009-05-02
1
-6
/
+6
*
|
Removed ARel table assignment
Emilio Tagua
2009-05-02
1
-1
/
+0
*
|
Added arel_attributes_values methods, refactored locking and AR#update to use...
Emilio Tagua
2009-04-30
1
-8
/
+1
*
|
Refactored locking update
Emilio Tagua
2009-04-24
1
-7
/
+9
*
|
Changed locking to use Arel. Arel updated
Emilio Tagua
2009-04-24
1
-14
/
+19
|
/
*
Ensure Model#destroy respects optimistic locking [#1966 state:resolved]
Curtis Hawthorne
2009-03-09
1
-0
/
+33
*
Partial updates don't update lock_version if nothing changed. [#426 state:re...
Daniel Morrison
2008-06-22
1
-0
/
+1
*
Merge docrails.
Pratik Naik
2008-05-25
1
-7
/
+7
*
Fixed that pessimistic locking you reference the quoted table name (Josh Suss...
David Heinemeier Hansson
2008-04-30
1
-1
/
+1
*
Partial updates include only unsaved attributes. Off by default; set YourClas...
Jeremy Kemper
2008-03-31
1
-3
/
+6
*
Ensure optimistic locking handles nil #lock_version values properly. Closes ...
Rick Olson
2007-12-15
1
-1
/
+1
*
attr_readonly behaves well with optimistic locking. Closes #10188.
Jeremy Kemper
2007-11-16
1
-1
/
+1
*
Optimistic locking: revert the lock version when an update fails. Closes #784...
Jeremy Kemper
2007-05-25
1
-16
/
+23
[prev]
[next]