Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | Add :recursive option to javascript_include_tag and stylesheet_link_tag to ↵ | Damian Janowski | 2008-07-08 | 1 | -0/+2 | |
| | | | | | | | | | | | | be used along with :all. [#480 state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | |||||
| * | Disable the Accept header by default | Michael Koziarski | 2008-07-07 | 1 | -0/+10 | |
| | | | | | | | | | | | | | | | | The accept header is poorly implemented by browsers and causes strange errors when used on public sites where crawlers make requests too. You should use formatted urls (e.g. /people/1.xml) to support API clients. Alternatively to re-enable it you need to set: config.action_controller.use_accept_header = true A special case remains for ajax requests which will have a javascript format for the base resource (/people/1) if the X-Requested-With header is present. This lets ajax pages still use format.js despite there being no params[:format] | |||||
| * | Do not stat template files in production mode before rendering. You will no ↵ | Joshua Peek | 2008-07-05 | 1 | -0/+2 | |
| | | | | | | | | longer be able to modify templates in production mode without restarting the server | |||||
| * | Deprecated TemplateHandler line offset | Joshua Peek | 2008-07-05 | 1 | -0/+2 | |
| | | ||||||
| * | Simplify the implementation of assert_redirected_to to normalise the urls ↵ | Michael Koziarski | 2008-07-04 | 1 | -0/+5 | |
| | | | | | | | | | | | | before comparing. Also allows for a simpler implementation of redirect_to without most of the recursion. Also allows for assert_redirected_to @some_record | |||||
| * | Remove old broken follow_redirect from functional tests. Still works in ↵ | Michael Koziarski | 2008-07-04 | 1 | -0/+5 | |
| | | | | | | | | | | | | integration tests. The follow_redirect in functional tests only worked if you used redirect_to :id=>foo, :action=>bar, rather than named routes. | |||||
| * | Allow caches_action to accept cache store options. [#416 state:resolved] | josevalim | 2008-07-04 | 1 | -0/+4 | |
| | | | | | | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | |||||
| * | Remove old method of including javascripts define_javascript_functions. | Michael Koziarski | 2008-07-03 | 1 | -0/+2 | |
| | | | | | | | | javascript_include_tag and friends do a much better job. | |||||
| * | Deprecate :use_full_path render option. The supplying the option no longer ↵ | Joshua Peek | 2008-07-02 | 1 | -0/+2 | |
| | | | | | | | | has an effect. | |||||
* | | Fixed that AssetTagHelper#compute_public_path shouldn't cache the asset_host ↵ | David Heinemeier Hansson | 2008-07-16 | 1 | -0/+2 | |
|/ | | | | along with the source or per-request proc's won't run [DHH] | |||||
* | Add :as option to render a collection of partials with a custom local ↵ | Pratik Naik | 2008-07-02 | 1 | -0/+6 | |
| | | | | variable name. [#509 state:resolved] [Simon Jefford, Pratik Naik] | |||||
* | Fix indentation and update changelogs for previous commit | gbuesing | 2008-06-29 | 1 | -0/+2 | |
| | ||||||
* | Made ActionView::Base#render_file private | Joshua Peek | 2008-06-25 | 1 | -0/+2 | |
| | ||||||
* | Fixed polymorphic_url to be able to handle singleton resources. | Tammer Saleh | 2008-06-22 | 1 | -0/+2 | |
| | | | | | | | Example usage: polymorphic_url([:admin, @user, :blog, @post]) # => admin_user_blog_post_url(@user, @post) [#461 state:resolved] | |||||
* | Replaced TemplateFinder abstraction with ViewLoadPaths | Joshua Peek | 2008-06-17 | 1 | -0/+2 | |
| | ||||||
* | Added block-call style to link_to [Sam Stephenson/DHH] | David Heinemeier Hansson | 2008-06-17 | 1 | -0/+6 | |
| | ||||||
* | Last commit message was meant for changelog. | Jeremy Kemper | 2008-06-14 | 1 | -0/+2 | |
| | ||||||
* | Improve ActionCaching's format-handling | Jonathan del Strother | 2008-06-11 | 1 | -0/+2 | |
| | | | | | | | | Make ActionCaching more aware of different mimetype formats. It will now use request.format to look up the cache type, in addition to the path extension. When expiring caches, the request format no longer affects which cache is expired. Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | |||||
* | Make sure cache_template_loading works and don't use to_prepare callback | Pratik Naik | 2008-06-11 | 1 | -2/+0 | |
| | ||||||
* | Ensure ActionView::TemplateFinder view cache is rebuilt on initialize. | Joshua Peek | 2008-06-08 | 1 | -0/+2 | |
| | ||||||
* | Drop ActionController::Base.allow_concurrency flag | Joshua Peek | 2008-06-08 | 1 | -0/+2 | |
| | ||||||
* | Changelog: More efficient concat and capture helpers. Remove ↵ | Jeremy Kemper | 2008-06-07 | 1 | -0/+2 | |
| | | | | ActionView::Base.erb_variable. | |||||
* | Add RJS#page.reload. [#277 state:resolved] | Sean Huber | 2008-06-04 | 1 | -0/+2 | |
| | | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | |||||
* | Fixed Request#remote_ip to only raise hell if the HTTP_CLIENT_IP and ↵ | David Heinemeier Hansson | 2008-06-03 | 1 | -0/+4 | |
| | | | | HTTP_X_FORWARDED_FOR doesnt match (not just if theyre both present) [Mark Imbriaco, Bradford Folkens] | |||||
* | Allow caches_action to accept a layout option [#198 state:resolved] | josevalim | 2008-06-03 | 1 | -0/+2 | |
| | | | | Signed-off-by: Joshua Peek <josh@joshpeek.com> | |||||
* | Added Rack processor | Ezra Zygmuntowicz | 2008-06-01 | 1 | -0/+3 | |
| | | | | Signed-off-by: Joshua Peek <josh@joshpeek.com> | |||||
* | Making ready for release of 2.1 | David Heinemeier Hansson | 2008-05-31 | 1 | -2/+2 | |
| | ||||||
* | InstanceTag#default_time_from_options overflows to DateTime | gbuesing | 2008-05-18 | 1 | -0/+2 | |
| | ||||||
* | Merge branch 'master' of git@github.com:rails/rails | rick | 2008-05-13 | 1 | -1/+5 | |
|\ | ||||||
| * | Making ready for RC1 release | David Heinemeier Hansson | 2008-05-11 | 1 | -1/+1 | |
| | | ||||||
| * | Fixed that forgery protection can be used without session tracking (Peter ↵ | David Heinemeier Hansson | 2008-05-11 | 1 | -0/+2 | |
| | | | | | | | | Jones) [#139 state:resolved] | |||||
| * | Added session(:on) to turn session management back on in a controller ↵ | David Heinemeier Hansson | 2008-05-11 | 1 | -0/+2 | |
| | | | | | | | | subclass if the superclass turned it off (Peter Jones) [#136 state:resolved] | |||||
* | | fix merge conflict with actionpack changelog | rick | 2008-05-10 | 1 | -0/+3 | |
|\| | ||||||
| * | ActionView::InstanceTag#default_time_from_options with hash args uses ↵ | gbuesing | 2008-05-08 | 1 | -0/+2 | |
| | | | | | | | | Time.current as default; respects hash settings when time falls in system local spring DST gap | |||||
| * | Adding Date.current, which returns Time.zone.today if config.time_zone is ↵ | gbuesing | 2008-05-08 | 1 | -0/+2 | |
| | | | | | | | | set; otherwise returns Date.today. ActionView date_helper uses Date.current to determine locale-appropriate default | |||||
* | | Change the request forgery protection to go by Content-Type instead of ↵ | rick | 2008-05-06 | 1 | -0/+2 | |
|/ | | | | request.format so that you can't bypass it by POSTing to "#{request.uri}.xml" [#73 state:resolved] | |||||
* | Fixed that TextHelper#text_field would corrypt when raw HTML was used as the ↵ | David Heinemeier Hansson | 2008-05-01 | 1 | -0/+2 | |
| | | | | value (mchenryc, Kevin Glowacz) [#80 state:resolved] | |||||
* | Added ActionController::TestCase#rescue_action_in_public! to control whether ↵ | David Heinemeier Hansson | 2008-04-27 | 1 | -0/+2 | |
| | | | | the action under test should use the regular rescue_action path instead of simply raising the exception inline (great for error testing) [DHH] | |||||
* | Delegate ivars to controller instead of copying | Pratik Naik | 2008-04-21 | 1 | -0/+2 | |
| | | | | | Reduce number of instance variables being copied from controller to view. Instead, delegate them to controller instance. | |||||
* | select_datetime and select_time default to Time.zone.now when ↵ | gbuesing | 2008-04-21 | 1 | -0/+2 | |
| | | | | config.time_zone is set | |||||
* | datetime_select defaults to Time.zone.now when config.time_zone is set | gbuesing | 2008-04-21 | 1 | -0/+2 | |
| | ||||||
* | Remove ActionController::Base#view_controller_internals | Pratik Naik | 2008-04-21 | 1 | -0/+2 | |
| | | | | | | Get rid of ActionController::Base#view_controller_internals flag and use @@protected_view_variables for storing the list of controller specific instance variables which should be inaccessible inside views. | |||||
* | Add conditional options to caches_page method [#25 state:resolved] | Paul Horsfall | 2008-04-19 | 1 | -0/+2 | |
| | | | | Signed-off-by: Joshua Peek <josh@joshpeek.com> | |||||
* | Move missing template logic to ActionView | Pratik Naik | 2008-04-19 | 1 | -0/+2 | |
| | ||||||
* | Introduce ActionView::InlineTemplate class | Pratik Naik | 2008-04-19 | 1 | -0/+2 | |
| | ||||||
* | Automatically parse posted JSON content for Mime::JSON requests. [rick] | Rick Olson | 2008-04-08 | 1 | -0/+10 | |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9242 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | |||||
* | add json_escape ERB util to escape html entities in json strings that are ↵ | Rick Olson | 2008-04-08 | 1 | -0/+2 | |
| | | | | | | output in HTML pages. [rick] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9241 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | |||||
* | Provide a helper proxy to access helper methods from outside views. Closes ↵ | Josh Peek | 2008-04-06 | 1 | -0/+3 | |
| | | | | | | #10839 [Josh Peek] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9234 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | |||||
* | Improve documentation. | Pratik Naik | 2008-04-05 | 1 | -0/+2 | |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9226 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | |||||
* | 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 |