Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Ensure timestamps are not generated when explicitly set to false [#5440 ↵ | José Valim | 2010-08-24 | 1 | -1/+1 |
| | | | | state:resolved] | ||||
* | Make update_attribute behave as in Rails 2.3 and document the behavior ↵ | José Valim | 2010-08-12 | 1 | -20/+19 |
| | | | | intrinsic to its implementation. | ||||
* | Merge remote branch 'docrails/master' into 3-0-stable | Xavier Noria | 2010-08-03 | 1 | -1/+2 |
|\ | |||||
| * | ensuring that description does not exceed 100 columns | Neeraj Singh | 2010-08-02 | 1 | -1/+2 |
| | | |||||
* | | Add an internal (private API) after_touch callback. [#5271 state:resolved] | José Valim | 2010-08-02 | 1 | -13/+0 |
|/ | |||||
* | moving time zone related documentation to timestamp.rb from base.rb | Neeraj Singh | 2010-07-29 | 1 | -0/+12 |
| | |||||
* | Timestamp columns of HABTM join table should record timestamps | Neeraj Singh | 2010-07-21 | 1 | -3/+16 |
| | | | | [#5161 state:resolved] | ||||
* | Tidying up a bit, so update_attribute is not called twice on touch. | José Valim | 2010-07-13 | 1 | -15/+9 |
| | |||||
* | with this fix touch method - does not call validations - doest not call ↵ | Neeraj Singh | 2010-07-13 | 1 | -9/+7 |
| | | | | | | | | callbacks - updates updated_at/on along with attribute if attribute is provided - marks udpated_at/on and attribute as NOT changed [#2520 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Improve a bit the code in latest commits. | José Valim | 2010-07-08 | 1 | -13/+7 |
| | |||||
* | This patch changes update_attribute implementatino so: | Neeraj Singh | 2010-07-08 | 1 | -2/+10 |
| | | | | | | | | | | - it will only save the attribute it has been asked to save and not all dirty attributes - it does not invoke callbacks - it does change updated_at/on Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | consolidating updated_at and updated_on | Neeraj Singh | 2010-07-08 | 1 | -9/+16 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Adds title and proper formatting to docs. | Rizwan Reza | 2010-06-16 | 1 | -6/+12 |
| | |||||
* | eliminate alias_method_chain from ActiveRecord | wycats | 2010-05-09 | 1 | -26/+22 |
| | |||||
* | Break up DependencyModule's dual function of providing a "depend_on" DSL and ↵ | Joshua Peek | 2009-05-28 | 1 | -1/+1 |
| | | | | "included" block DSL into separate modules. But, unify both approaches under AS::Concern. | ||||
* | Use DependencyModule for included hooks in ActiveRecord | Bryan Helmkamp | 2009-05-11 | 1 | -5/+7 |
| | |||||
* | Added :touch option to belongs_to associations that will touch the parent ↵ | David Heinemeier Hansson | 2009-04-16 | 1 | -3/+13 |
| | | | | record when the current record is saved or destroyed [DHH] | ||||
* | Added ActiveRecord::Base#touch to update the updated_at/on attributes with ↵ | David Heinemeier Hansson | 2009-04-16 | 1 | -9/+29 |
| | | | | the current time [DHH] | ||||
* | Ensure of Model#create support custom updated_at and updated_on attributes ↵ | Luis Hurtado | 2008-12-22 | 1 | -2/+2 |
| | | | | | | [#1612 state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
* | Partial updates play nice with updated_at/on timestamps | Jeremy Kemper | 2008-03-31 | 1 | -1/+1 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9159 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Partial updates include only unsaved attributes. Off by default; set ↵ | Jeremy Kemper | 2008-03-31 | 1 | -2/+2 |
| | | | | | | YourClass.partial_updates = true to enable. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9157 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Improve documentation. | Pratik Naik | 2008-03-26 | 1 | -1/+1 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9093 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Make the record_timestamps class-inheritable so it can be set per model. ↵ | Jeremy Kemper | 2007-11-26 | 1 | -1/+1 |
| | | | | | | References #10004. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8217 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Smattering of grammatical fixes to documentation. Closes #10083 [BobSilva] | Marcel Molina | 2007-11-08 | 1 | -2/+2 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8113 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Revert [4706] which added incorrect docs. References #5684. | Jeremy Kemper | 2007-05-19 | 1 | -9/+0 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6789 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Consistent public/protected/private visibility for chained methods. Closes ↵ | Jeremy Kemper | 2007-03-13 | 1 | -18/+17 |
| | | | | | | #7813. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6396 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Don't create instance writer methods for class attributes. Closes #7401 [Rick] | Rick Olson | 2007-01-28 | 1 | -1/+1 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6051 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Add documentation for how to disable timestamps on a per model basis. Closes ↵ | Marcel Molina | 2006-08-07 | 1 | -0/+9 |
| | | | | | | #5684. [matt@mattmargolis.net Marcel Molina Jr.] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4706 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | r4724@asus: jeremy | 2006-06-28 19:22:46 -0700 | Jeremy Kemper | 2006-06-29 | 1 | -33/+17 |
| | | | | | | | Removed deprecated timestamps_gmt class methods. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4511 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Replace alias method chaining with Module#alias_method_chain. [Marcel Molina ↵ | Marcel Molina | 2006-04-29 | 1 | -5/+3 |
| | | | | | | Jr.] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4312 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Replace Ruby's deprecated append_features in favor of included. [Marcel ↵ | Marcel Molina | 2006-04-29 | 1 | -3/+1 |
| | | | | | | Molina Jr.] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4310 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Closes #3784. | Jeremy Kemper | 2006-02-09 | 1 | -5/+5 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3562 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Update AR default timezone docs. | Jeremy Kemper | 2006-02-09 | 1 | -1/+1 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3561 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Speed up timestamping a tad #1227 [skaen] | David Heinemeier Hansson | 2005-05-19 | 1 | -8/+10 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1327 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Changed the auto-timestamping feature to use ↵ | David Heinemeier Hansson | 2005-02-24 | 1 | -3/+13 |
| | | | | | | 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 | ||||
* | Finished polishing API docs | David Heinemeier Hansson | 2005-02-23 | 1 | -2/+2 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@773 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Added ActiveRecord::Base.timestamps_gmt that can be set to true to make the ↵ | David Heinemeier Hansson | 2005-01-24 | 1 | -7/+12 |
| | | | | | | 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 | ||||
* | Fixed the automated timestamping feature when running under Rails' ↵ | David Heinemeier Hansson | 2004-12-18 | 1 | -5/+17 |
| | | | | | | 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 | ||||
* | Updated and added more documentation | David Heinemeier Hansson | 2004-12-16 | 1 | -0/+2 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@193 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Added option for turning off the automated timestamps | David Heinemeier Hansson | 2004-12-16 | 1 | -5/+14 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@184 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@177 ↵ | David Heinemeier Hansson | 2004-12-16 | 1 | -0/+22 |
5ecf4fe2-1ee6-0310-87b1-e25e094e27de |