Joshua Peek
|
4e50a35fa2
|
Break up DependencyModule's dual function of providing a "depend_on" DSL and "included" block DSL into separate modules. But, unify both approaches under AS::Concern.
|
2009-05-28 11:35:36 -05:00 |
|
Bryan Helmkamp
|
a2875bec9a
|
Use DependencyModule for included hooks in ActiveRecord
|
2009-05-11 22:23:47 -04:00 |
|
David Heinemeier Hansson
|
abb899c54e
|
Added :touch option to belongs_to associations that will touch the parent record when the current record is saved or destroyed [DHH]
|
2009-04-16 17:25:55 -05:00 |
|
David Heinemeier Hansson
|
fdb61f02c5
|
Added ActiveRecord::Base#touch to update the updated_at/on attributes with the current time [DHH]
|
2009-04-16 16:48:37 -05:00 |
|
Luis Hurtado
|
63aac33833
|
Ensure of Model#create support custom updated_at and updated_on attributes [#1612 state:resolved]
Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
|
2008-12-22 15:19:33 +00:00 |
|
Jeremy Kemper
|
97019f9f5a
|
Partial updates play nice with updated_at/on timestamps
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9159 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-03-31 01:49:57 +00:00 |
|
Jeremy Kemper
|
6b9448cdd2
|
Partial updates include only unsaved attributes. Off by default; set YourClass.partial_updates = true to enable.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9157 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-03-31 01:10:04 +00:00 |
|
Pratik Naik
|
ca9413674e
|
Improve documentation.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9093 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2008-03-26 12:27:52 +00:00 |
|
Jeremy Kemper
|
1370d15787
|
Make the record_timestamps class-inheritable so it can be set per model. References #10004.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8217 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-11-26 22:45:03 +00:00 |
|
Marcel Molina
|
7143d80147
|
Smattering of grammatical fixes to documentation. Closes #10083 [BobSilva]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8113 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-11-08 03:37:16 +00:00 |
|
Jeremy Kemper
|
c7c867ebd2
|
Revert [4706] which added incorrect docs. References #5684.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6789 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-05-19 22:15:28 +00:00 |
|
Jeremy Kemper
|
07d8f46b85
|
Consistent public/protected/private visibility for chained methods. Closes #7813.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6396 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-03-13 02:14:31 +00:00 |
|
Rick Olson
|
1a11bffde1
|
Don't create instance writer methods for class attributes. Closes #7401 [Rick]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6051 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-01-28 01:31:31 +00:00 |
|
Marcel Molina
|
883c54a317
|
Add documentation for how to disable timestamps on a per model basis. Closes #5684. [matt@mattmargolis.net Marcel Molina Jr.]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4706 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-08-07 06:54:22 +00:00 |
|
Jeremy Kemper
|
5fe64dd1a6
|
r4724@asus: jeremy | 2006-06-28 19:22:46 -0700
Removed deprecated timestamps_gmt class methods.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4511 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-06-29 02:39:32 +00:00 |
|
Marcel Molina
|
9f92dd3984
|
Replace alias method chaining with Module#alias_method_chain. [Marcel Molina Jr.]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4312 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-04-29 20:20:22 +00:00 |
|
Marcel Molina
|
6186490962
|
Replace Ruby's deprecated append_features in favor of included. [Marcel Molina Jr.]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4310 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-04-29 18:10:14 +00:00 |
|
Jeremy Kemper
|
3a38c829e0
|
Closes #3784.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3562 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-02-09 19:47:13 +00:00 |
|
Jeremy Kemper
|
08bda903ec
|
Update AR default timezone docs.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3561 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-02-09 19:46:12 +00:00 |
|
David Heinemeier Hansson
|
c8b4cf65df
|
Speed up timestamping a tad #1227 [skaen]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1327 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-05-19 19:05:12 +00:00 |
|
David Heinemeier Hansson
|
4fbc3e30eb
|
Changed the auto-timestamping feature to use ActiveRecord::Base.default_timezone instead of entertaining the parallel ActiveRecord::Base.timestamps_gmt method. The latter is now deprecated and will throw a warning on use (but still work) #710 [Jamis Buck]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@788 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-02-24 12:00:42 +00:00 |
|
David Heinemeier Hansson
|
4eab375805
|
Finished polishing API docs
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@773 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-02-23 23:51:34 +00:00 |
|
David Heinemeier Hansson
|
981d86cbb9
|
Added ActiveRecord::Base.timestamps_gmt that can be set to true to make the automated timestamping use GMT instead of local time #520 [Scott Baron]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@491 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-01-24 13:18:29 +00:00 |
|
David Heinemeier Hansson
|
b09829354f
|
Fixed the automated timestamping feature when running under Rails' development environment that resets the inheritable attributes on each request.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@212 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2004-12-18 15:15:27 +00:00 |
|
David Heinemeier Hansson
|
f389a8fb5d
|
Updated and added more documentation
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@193 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2004-12-16 17:14:41 +00:00 |
|
David Heinemeier Hansson
|
c5d6aa2b18
|
Added option for turning off the automated timestamps
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@184 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2004-12-16 15:21:16 +00:00 |
|
David Heinemeier Hansson
|
d8a58eea11
|
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@177 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2004-12-16 03:01:11 +00:00 |
|