Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | AMo conversion helper | Joshua Peek | 2009-07-21 | 1 | -4/+8 |
| | |||||
* | Define ActiveModel API Compliance | Yehuda Katz | 2009-07-20 | 1 | -3/+5 |
| | | | | | | - Define to_model on AR - Define to_model on ActiveModel::APICompliant - Update test fixtures to be API Compliant - Start using to_model in AP | ||||
* | Fixes a number of tests that inexplicably didn't fail when we committed the ↵ | Yehuda Katz + Carl Lerche | 2009-07-02 | 1 | -3/+3 |
| | | | | original patch | ||||
* | Move model naming into ActiveModel | Joshua Peek | 2009-06-17 | 1 | -0/+3 |
| | |||||
* | Added the :rjs render option | Yehuda Katz + Carl Lerche | 2009-05-21 | 1 | -0/+4 |
| | |||||
* | * Add pluggable JSON backends with support for the JSON gem. [rick] | rick | 2009-04-23 | 1 | -8/+8 |
| | | | | | | | | | | | | | | Example: ActiveSupport::JSON.backend = "JSONGem" All internal Rails JSON encoding is now handled by ActiveSupport::JSON.encode(). Use of #to_json is not recommended, as it may clash with other libraries that overwrite it. However, you can recover Rails specific functionality if you really want to use #to_json. gem 'json' ActiveSupport::JSON.backend = "JSONGem" class ActiveRecord::Base alias to_json rails_to_json end | ||||
* | Temporarily modifies setup to call super directly. This can support more ↵ | Yehuda Katz and Carl Lerche | 2009-04-08 | 1 | -0/+1 |
| | | | | T::U runners. | ||||
* | Begin unifying the interface between ActionController and ActionView | Yehuda Katz | 2009-01-22 | 1 | -1/+1 |
| | |||||
* | Implement submit_to_remote as a wrapper around a more generic button_to_remote | Tarmo Tänav | 2008-10-07 | 1 | -3/+3 |
| | | | | | | | Removed the "return false" from submit_to_remote onclick end as button input elements have no default behavior to cancel. Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
* | Allow prototype functions to receive position parameter as a symbol. | miloops | 2008-08-30 | 1 | -0/+2 |
| | | | | | | [#887 state:resolved] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | Added button_to_remote helper | Tarmo Tänav | 2008-08-29 | 1 | -0/+13 |
| | | | | | | Ticket originally from http://dev.rubyonrails.org/ticket/3641 Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | Cache JavaScriptGenerator's helper module set on the template | Joshua Peek | 2008-08-26 | 1 | -4/+0 |
| | |||||
* | Performance: Cache modules that extend the view context for JavaScriptGenerator | Joshua Peek | 2008-08-25 | 1 | -0/+4 |
| | |||||
* | In javascript helpers option[:type] = :synchronous should work as described ↵ | miloops | 2008-07-31 | 1 | -0/+6 |
| | | | | | | in docs. Signed-off-by: Michael Koziarski <michael@koziarski.com> | ||||
* | Prototype helpers should generate Element.insert instead of Insertion.new, ↵ | miloops | 2008-07-30 | 1 | -6/+6 |
| | | | | which has been deprecated in Prototype 1.6. | ||||
* | JavaScriptGenerator should only sets output_buffer for the duration of the ↵ | Jeremy Kemper | 2008-07-15 | 1 | -1/+5 |
| | | | | update block | ||||
* | Get buffer for fragment cache from template's @output_buffer | Joshua Peek | 2008-07-15 | 1 | -1/+1 |
| | |||||
* | Changed PrototypeHelper#submit_to_remote to PrototypeHelper#button_to_remote ↵ | David Heinemeier Hansson | 2008-07-09 | 1 | -2/+2 |
| | | | | to stay consistent with link_to_remote (submit_to_remote still works as an alias) (clemens) [#8994 status:closed] | ||||
* | Check whether blocks are called from erb using a special __in_erb_template ↵ | Jeremy Kemper | 2008-06-19 | 1 | -68/+69 |
| | | | | variable visible in block binding. | ||||
* | Use output_buffer reader and writer methods exclusively instead of hitting ↵ | Jeremy Kemper | 2008-06-08 | 1 | -13/+7 |
| | | | | the instance variable so others can override the methods. | ||||
* | Merge branch 'master' into erbout | Jeremy Kemper | 2008-06-05 | 1 | -0/+5 |
|\ | |||||
| * | Add RJS#page.reload. [#277 state:resolved] | Sean Huber | 2008-06-04 | 1 | -0/+5 |
| | | | | | | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
* | | Work with @output_buffer instead of _erbout | Jeremy Kemper | 2008-06-02 | 1 | -13/+13 |
|/ | |||||
* | Remove superfluous tests directive | Jeremy Kemper | 2008-05-26 | 1 | -2/+0 |
| | |||||
* | Ensure observe_field encodes value parameter. [#216 state:resolved] | Frederick Cheung | 2008-05-19 | 1 | -2/+2 |
| | | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
* | Fix remote_function to escape apostrophes inside the remote url passed to ↵ | Andre Arko | 2008-05-13 | 1 | -0/+5 |
| | | | | | | Ajax.Update. [#180 state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
* | Introduce ActionView::TestCase for testing view helpers. | Joshua Peek | 2008-04-19 | 1 | -37/+19 |
| | |||||
* | Ensure RJS redirect_to doesn't html-escapes string argument. Closes #8546 | Pratik Naik | 2008-04-02 | 1 | -0/+2 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9212 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | require abstract_unit directly since test is in load path | Jeremy Kemper | 2008-01-05 | 1 | -1/+1 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8564 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Don't escape forward slashes with String#to_json, our unicode encoding of < ↵ | Michael Koziarski | 2007-12-02 | 1 | -10/+10 |
| | | | | | | and > prevent the XSS problems. [tpope] Closes #10273 git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8255 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Change JSON to encode %w(< > &) as 4 digit hex codes to be in compliance ↵ | Rick Olson | 2007-10-29 | 1 | -9/+9 |
| | | | | | | with the JSON spec. Closes #9975 [josh, chuyeow, tpope] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8050 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Update tests for ActiveSupport's JSON escaping change. [rick] | Rick Olson | 2007-10-26 | 1 | -10/+10 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8034 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Allow ability to disable request forgery protection, disable it in test mode ↵ | Rick Olson | 2007-09-28 | 1 | -0/+4 |
| | | | | | | by default. Closes #9693 [lifofifo] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7668 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Fixed spelling errors (closes #9706) [tarmo/rmm5t] | David Heinemeier Hansson | 2007-09-28 | 1 | -8/+8 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7666 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Merge csrf_killer plugin into rails. Adds RequestForgeryProtection model ↵ | Rick Olson | 2007-09-23 | 1 | -0/+5 |
| | | | | | | that verifies session-specific _tokens for non-GET requests. [Rick] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7592 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Tidy up link to remote options. Closes #9505. [nik.wakelin] | Michael Koziarski | 2007-09-12 | 1 | -0/+5 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7468 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Add array support to remote_form_for for polymorphic urls. Closes #8654 [jade] | Michael Koziarski | 2007-09-02 | 1 | -13/+43 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7400 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Improve Action View test coverage. Closes #7241, #7243, #7244. | Jeremy Kemper | 2007-06-08 | 1 | -1/+6 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6967 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Test periodically_call_remote with frequency. Closes #7244 [Rich Collins] | Jeremy Kemper | 2007-06-08 | 1 | -0/+7 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6963 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Assume html format when rendering partials in RJS. #8076 [Rick] | Rick Olson | 2007-06-05 | 1 | -0/+4 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6950 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Allow JSON-style values for the :with option of observe_field. Closes #8557 ↵ | Thomas Fuchs | 2007-06-03 | 1 | -0/+11 |
| | | | | | | [kommen] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6930 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | fix test cases to match new json output. Closes #8371 | Rick Olson | 2007-05-29 | 1 | -9/+9 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6894 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | observe_form always sends the serialized form. Closes #5271. | Jeremy Kemper | 2007-05-18 | 1 | -2/+2 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6775 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Clean up the simply_helpful merge. | Jeremy Kemper | 2007-05-18 | 1 | -1/+1 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6751 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Added record identifications to FormHelper#form_for and ↵ | David Heinemeier Hansson | 2007-05-14 | 1 | -11/+71 |
| | | | | | | PrototypeHelper#remote_form_for [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6731 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Removed deprecated parameters_for_method_reference concept (legacy from ↵ | David Heinemeier Hansson | 2007-05-12 | 1 | -1/+1 |
| | | | | | | before named routes) [DHH] Added record identification with polymorphic routes for ActionController::Base#url_for and ActionView::Base#url_for [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6729 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Added the first part of Simply Helpful to core. The rest is pending a clean ↵ | David Heinemeier Hansson | 2007-04-30 | 1 | -0/+7 |
| | | | | | | integartion of polymorphic urls [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6633 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Use a consistent load path to avoid double requires. Fix some scattered Ruby ↵ | Jeremy Kemper | 2007-01-28 | 1 | -1/+1 |
| | | | | | | warnings. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6057 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Allow inGroupsOf and eachSlice to be called through rjs. Closes #7046 | Tobias Lütke | 2007-01-15 | 1 | -0/+23 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5942 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Deprecate JavaScriptHelper#update_element_function, which is superseeded by ↵ | Thomas Fuchs | 2006-11-06 | 1 | -24/+0 |
| | | | | | | RJS [Thomas Fuchs] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5438 5ecf4fe2-1ee6-0310-87b1-e25e094e27de |