aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack
Commit message (Collapse)AuthorAgeFilesLines
...
* Added Verifications that allows you to specify preconditions to actions in ↵David Heinemeier Hansson2005-03-264-0/+220
| | | | | | 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
* Fixing JS bugs, renamed :position valuesDavid Heinemeier Hansson2005-03-262-28/+9
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1007 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added other DOM manipulation positions than just replaceDavid Heinemeier Hansson2005-03-262-4/+68
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1006 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed highlight effectDavid Heinemeier Hansson2005-03-261-2/+12
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1005 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added :highlight effect to do YFT automaticallyDavid Heinemeier Hansson2005-03-262-1/+29
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1004 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed Form.Serialize for the JavascriptHelper to also seriliaze password ↵David Heinemeier Hansson2005-03-262-0/+3
| | | | | | fields #934 [dweitzman@gmail.com] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1003 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added JavascriptHelper#escape_javascript as a public method (was private) ↵David Heinemeier Hansson2005-03-263-3/+15
| | | | | | and made it escape both single and double quotes and new lines #940 [mortonda@dgrmm.net] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1002 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added trailing_slash option to url_for, so you can generate urls ending in a ↵David Heinemeier Hansson2005-03-263-1/+6
| | | | | | slash. Note that is currently not recommended unless you need it for special reasons since it breaks caching #937 [stian@grytoyr.net] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1001 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added documentation on models in sessions #929 [c.r.mcgrath@gmail.com]David Heinemeier Hansson2005-03-261-0/+7
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1000 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Removed old UrlWriter methods that are no longer in use after Routes #942David Heinemeier Hansson2005-03-263-533/+5
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@999 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added expire_matched_fragments(regular_expression) to clear out a lot of ↵David Heinemeier Hansson2005-03-262-2/+37
| | | | | | fragment caches at once #927 [technoweenie@gmail.com] Fixed the problems with : and ? in file names for fragment caches on Windows #927 [technoweenie@gmail.com] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@996 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added TextHelper#human_size for formatting file sizes, like ↵David Heinemeier Hansson2005-03-262-0/+22
| | | | | | human_size(1234567) => 1.2 MB #943 [thomas@fesch.at] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@995 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed link_to :confirm #936 [Nicholas Seckar]David Heinemeier Hansson2005-03-262-1/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@994 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Made getElementsByClassName actually workDavid Heinemeier Hansson2005-03-251-13/+24
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@991 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that MissingSourceFile's wasn't properly detected in production mode ↵David Heinemeier Hansson2005-03-252-9/+1
| | | | | | #925 [Nicholas Seckar] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@990 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Tweaked the rescue with breakpoint, still not perfectDavid Heinemeier Hansson2005-03-232-11/+12
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@986 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Improved error reporting especially around never shallowing exceptions. ↵David Heinemeier Hansson2005-03-236-17/+23
| | | | | | Debugging helpers should be much easier now #980 [Nicholas Seckar] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@984 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed Toggle.display in prototype.js #902 [Lucas Carlson]David Heinemeier Hansson2005-03-232-2/+7
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@980 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed documentation and prepared for 0.11.0 releaseDavid Heinemeier Hansson2005-03-226-28/+21
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@976 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Updated more documentationDavid Heinemeier Hansson2005-03-222-0/+12
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@975 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added documentation and fixed an ajax bugDavid Heinemeier Hansson2005-03-223-9/+18
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@974 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Last-minute ajax fixes #898David Heinemeier Hansson2005-03-222-15/+22
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@973 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* fix for javascript_helper.rb build_callbacks #893David Heinemeier Hansson2005-03-211-3/+5
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@970 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Made the Ajax request itself also use the &_= trick for SafariDavid Heinemeier Hansson2005-03-211-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@968 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Tweaked the documentationDavid Heinemeier Hansson2005-03-212-5/+13
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@967 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Wrong parameter names in observe_field/observe_formDavid Heinemeier Hansson2005-03-211-2/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@966 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Renamed Toggle.visibility to Toggle.display and fixed it for multiple argumentsDavid Heinemeier Hansson2005-03-211-3/+4
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@958 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed js bugDavid Heinemeier Hansson2005-03-211-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@957 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added a JavascriptHelper and accompanying prototype.js library that opens ↵David Heinemeier Hansson2005-03-213-215/+442
| | | | | | the world of Ajax to Action Pack with a large array of options for dynamically interacting with an application without reloading the page #884 [Sam Stephenson/David] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@955 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Routes: *path items should use arrays #883David Heinemeier Hansson2005-03-213-6/+26
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@954 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added pagination support through both a controller and helper add-on #817 ↵David Heinemeier Hansson2005-03-204-0/+447
| | | | | | [Sam Stephenson] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@949 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Introduce to_param to assert_redirected_to #880David Heinemeier Hansson2005-03-201-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@948 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Routes: Convert results of #to_param to strings #879David Heinemeier Hansson2005-03-202-1/+8
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@947 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Changed .htaccess to allow dispatch.* to be called from a sub-directory as ↵David Heinemeier Hansson2005-03-207-40/+153
| | | | | | part of the push with Action Pack to make Rails work on non-vhost setups #826 [Nicholas Seckar/Tobias Luetke] Fixed routing and helpers to make Rails work on non-vhost setups #826 [Nicholas Seckar/Tobias Luetke] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@945 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added a much improved Flash module that allows for finer-grained control on ↵David Heinemeier Hansson2005-03-205-38/+175
| | | | | | expiration and allows you to flash the current action #839 [Caio Chassot] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@942 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added to_param call for parameters when composing an url using url_for from ↵David Heinemeier Hansson2005-03-203-3/+29
| | | | | | something else than strings #812 [Sam Stephenson] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@935 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed form helpers to query Model#id_before_type_cast instead of Model#id as ↵David Heinemeier Hansson2005-03-203-1/+4
| | | | | | a temporary workaround for Ruby 1.8.2 warnings #818 [DeLynn B] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@934 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added TextHelper#simple_format as a non-dependency text presentation ↵David Heinemeier Hansson2005-03-203-1/+24
| | | | | | helper.Fixed TextHelper#markdown to use blank? instead of empty? so it can deal with nil strings passed #814 [Johan Sorensen] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@933 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added that the html options disabled, readonly, and multiple can all be ↵David Heinemeier Hansson2005-03-203-8/+34
| | | | | | treated as booleans. So specifying <tt>disabled => :true</tt> will give <tt>disabled="disabled"</tt>. #809 [mindel] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@932 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added path collection syntax for Routes that will gobble up the rest of the ↵David Heinemeier Hansson2005-03-203-3/+40
| | | | | | url and pass it on to the controller #830 [rayners] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@927 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added more FormTagHelper test cases #860 [Eric Hodel]David Heinemeier Hansson2005-03-201-16/+78
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@925 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added a bit more to the session documentation on how to clear sessionsDavid Heinemeier Hansson2005-03-201-2/+5
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@922 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed options_for_select on selected line issue #624 [Florian Weber]David Heinemeier Hansson2005-03-153-0/+15
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@911 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Remove superfluous begin/end in caching.rb methods #836David Heinemeier Hansson2005-03-141-16/+6
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@908 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added CaptureHelper with CaptureHelper#capture and ↵David Heinemeier Hansson2005-03-142-0/+97
| | | | | | CaptureHelper#content_for. See documentation in helper #837 [Tobias Luetke] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@907 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed :anchor use in url_for #821 [Nicholas Seckar]David Heinemeier Hansson2005-03-142-1/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@906 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Remove the duplicated remote_function and make the real deal publicDavid Heinemeier Hansson2005-03-141-23/+11
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@905 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Made async callbacks work with :updateDavid Heinemeier Hansson2005-03-141-4/+8
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@904 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Made async the default approach and add get_elements_by_classDavid Heinemeier Hansson2005-03-141-10/+36
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@903 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added asynchronous processing modelDavid Heinemeier Hansson2005-03-141-6/+71
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@902 5ecf4fe2-1ee6-0310-87b1-e25e094e27de