Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Added include_seconds option as the third parameter to ↵ | David Heinemeier Hansson | 2005-03-26 | 1 | -1/+1 |
| | | | | | | distance_of_time_in_words which will render "less than a minute" in higher resolution ("less than 10 seconds" etc) #944 [thomas@fesch.at] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1010 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Added Verifications that allows you to specify preconditions to actions in ↵ | David Heinemeier Hansson | 2005-03-26 | 1 | -0/+79 |
form of statements like <tt>verify :only => :update_post, :params => "admin_privileges", :redirect_to => { :action => "settings" }</tt>, which ensure that the update_post action is only called if admin_privileges is available as a parameter -- otherwise the user is redirected to settings. #897 [Jamis Buck] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1008 5ecf4fe2-1ee6-0310-87b1-e25e094e27de |