David Heinemeier Hansson
|
ebb7bd7835
|
Added easy assignment of fragment cache store through use of symbols for included stores (old way still works too)
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2230 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-09-13 08:31:32 +00:00 |
|
David Heinemeier Hansson
|
53ee2c9633
|
Added ActionController::Base.session_store=, session_store, and session_options to make it easier to tweak the session options (instead of going straight to ActionController::CgiRequest::DEFAULT_SESSION_OPTIONS)
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2228 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-09-13 07:46:57 +00:00 |
|
David Heinemeier Hansson
|
2fe8610673
|
Added TextHelper#cycle to cycle over an array of values on each hit (useful for alternating row colors etc) #2154 [dave-ml@dribin.org]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2213 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-09-12 05:26:25 +00:00 |
|
Nicholas Seckar
|
27962ead03
|
Add ability to specify Route Regexps for controllers. Closes #1917.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2205 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-09-11 13:56:43 +00:00 |
|
Nicholas Seckar
|
9e5d64b3bb
|
Provide Named Route's hash methods as helper methods. Closes #1744.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2204 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-09-11 13:45:55 +00:00 |
|
David Heinemeier Hansson
|
2be3c00863
|
Split macros test into their own suite
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2194 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-09-11 08:40:46 +00:00 |
|
David Heinemeier Hansson
|
a15068726f
|
Added :multipart option to ActiveRecordHelper#form to make it possible to add file input fields #2034 [jstirk@oobleyboo.com]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2193 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-09-11 08:39:23 +00:00 |
|
David Heinemeier Hansson
|
b62243a5cc
|
Added :disabled option to all data selects that'll make the elements inaccessible for change #2167, #253 [eigentone]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2184 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-09-11 05:58:00 +00:00 |
|
David Heinemeier Hansson
|
da7ba91d86
|
Fixed that TextHelper#auto_link_urls would include punctuation in the links #2166, #1671 [eigentone]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2183 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-09-11 05:53:52 +00:00 |
|
David Heinemeier Hansson
|
3cf7a0a460
|
Added Kernel#silence_warnings and puts it into use throughout the framework
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2179 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-09-11 04:58:27 +00:00 |
|
David Heinemeier Hansson
|
afbfde9357
|
Fixed that number_to_currency(1000, {:precision => 0})) should return "$1,000", instead of "$1,000." #2122 [sd@notso.net]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2170 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-09-09 08:43:02 +00:00 |
|
David Heinemeier Hansson
|
e3c02d8c66
|
Fixed that render :partial would fail when :object was a Hash (due to backwards compatibility issues) #2148 [Sam Stephenson]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2160 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-09-09 07:27:44 +00:00 |
|
David Heinemeier Hansson
|
46110aa689
|
Fixed JavascriptHelper#auto_complete_for to only include unique items #2153 [Thomas Fuchs]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2159 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-09-09 07:25:58 +00:00 |
|
David Heinemeier Hansson
|
079d8f4028
|
Fixed that onclick would be overridden even when special features werent used
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2158 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-09-08 17:54:16 +00:00 |
|
David Heinemeier Hansson
|
3c3d936f4d
|
Fixed all AssetHelper methods to work with relative paths, such that javascript_include_tag('stdlib/standard') will look in /javascripts/stdlib/standard instead of '/stdlib/standard/' #1963
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2156 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-09-08 16:39:06 +00:00 |
|
David Heinemeier Hansson
|
e6428abd23
|
Fixed a broken test
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2155 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-09-08 16:30:13 +00:00 |
|
David Heinemeier Hansson
|
7b235f0213
|
Use this.href, not unexisting url
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2150 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-09-07 13:04:09 +00:00 |
|
David Heinemeier Hansson
|
7e3dc807df
|
Added :post option to UrlHelper#link_to that makes it possible to do POST requests through normal ahref links using Javascript
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2149 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-09-07 12:56:33 +00:00 |
|
Nicholas Seckar
|
3108764367
|
Fix overwrite params. Closes #1909
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2144 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-09-06 22:06:11 +00:00 |
|
David Heinemeier Hansson
|
258bacbf82
|
Added :popup option to UrlHelper#link_to #1996 [gabriel.gironda@gmail.com]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2129 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-09-04 00:33:45 +00:00 |
|
Jamis Buck
|
6c44d35268
|
AbstractRequest#domain returns nil when host is an ip address #2012 [kevin.clark@gmail.com]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2098 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-09-02 09:10:31 +00:00 |
|
Jamis Buck
|
e758c2e9db
|
Yield @content_for_ variables to templates #2058 [Sam Stephenson]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2094 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-09-01 21:51:27 +00:00 |
|
Jamis Buck
|
01af965a3e
|
Make rendering an empty partial collection behave like :nothing => true #2080 [Sam Stephenson]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2093 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-09-01 21:43:38 +00:00 |
|
Nicholas Seckar
|
68c90ab019
|
Render refactoring; render error reporting fixes
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2058 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-08-26 22:37:36 +00:00 |
|
Jamis Buck
|
211617191e
|
Prevent the benchmark module from blowing up if a non-HTTP/1.1 request is processed
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2039 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-08-23 09:43:36 +00:00 |
|
Jamis Buck
|
82f44f3144
|
Added :use_short_month option to select_month helper to show month names as abbreviations
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2033 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-08-22 14:47:16 +00:00 |
|
Jamis Buck
|
c031a01633
|
Add an :if option to session management, to allow programmatically enabling or disabling the session
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2031 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-08-17 21:05:31 +00:00 |
|
Jamis Buck
|
8910de6a54
|
Make link_to escape the javascript in the confirm option #1964 [nicolas.pouillard@gmail.com]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2009 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-08-14 08:43:07 +00:00 |
|
Jamis Buck
|
50e2474433
|
Make assert_redirected_to properly check URL's passed as strings #1910 [Scott Barron]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1971 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-08-06 08:37:25 +00:00 |
|
Jamis Buck
|
a3469cadad
|
Make sure :layout => false is always used when rendering inside a layout
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1970 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-08-05 20:51:03 +00:00 |
|
Jamis Buck
|
44c64a612d
|
Use raise instead of assert_not_nil in Test::Unit::TestCase#process to ensure that the test variables (controller, request, response) have been set
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1963 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-08-01 21:28:17 +00:00 |
|
Jamis Buck
|
08ebab5d20
|
Make sure assigns are built for every request when testing #1866
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1961 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-07-31 12:16:21 +00:00 |
|
Jamis Buck
|
020ed6fa1f
|
Allow remote_addr to be queried on TestRequest #1668
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1960 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-07-31 10:31:47 +00:00 |
|
David Heinemeier Hansson
|
3d2f0001ea
|
Fixed bug when a partial render was passing a local with the same name as the partial
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1942 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-07-27 12:24:14 +00:00 |
|
David Heinemeier Hansson
|
d9033bbb28
|
Demonstrate breakage better
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1941 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-07-27 12:06:19 +00:00 |
|
David Heinemeier Hansson
|
e95dd53a5d
|
Added two failing tests for partials with locals from controller
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1937 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-07-27 09:11:00 +00:00 |
|
David Heinemeier Hansson
|
4f40b2d8fb
|
Improved performance of test app req/sec with ~10% refactoring the render method #1823 [Stefan Kaes]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1915 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-07-24 16:45:39 +00:00 |
|
David Heinemeier Hansson
|
1ae0a53d86
|
Fixed regression for content_for #1820 [Stefan Kaes]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1911 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-07-24 13:20:29 +00:00 |
|
David Heinemeier Hansson
|
b366dbd952
|
Improved performance with 5-30% through a series of Action Pack optimizations #1811 [Stefan Kaes]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1905 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-07-23 09:00:05 +00:00 |
|
David Heinemeier Hansson
|
d172592985
|
Added test for template to layout variable transfer
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1904 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-07-23 08:43:01 +00:00 |
|
Jamis Buck
|
d76439239d
|
Add unit test to ensure that session management options are inherited and overridable in subclasses
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1888 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-07-22 10:56:53 +00:00 |
|
Jamis Buck
|
06843f8794
|
Added support for per-action session management #1763
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1886 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-07-22 10:37:09 +00:00 |
|
David Heinemeier Hansson
|
bd558ef98e
|
Improved rendering speed on complicated templates by up to 25% #1234 [Stephan Kaes]. This did necessasitate a change to the internals of ActionView#render_template that now has four parameters. Developers of custom view handlers (like Amrita) need to update for that.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1874 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-07-21 07:14:35 +00:00 |
|
Nicholas Seckar
|
741316dc71
|
Fixed construction of get parameters for arrays
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1857 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-07-18 03:12:45 +00:00 |
|
Nicholas Seckar
|
c0771fe7d8
|
Fix assert_routing with nested controllers. Closes #1582 and #1386.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1837 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-07-15 15:00:39 +00:00 |
|
David Heinemeier Hansson
|
7073abe159
|
Fixed bug with :success/:failure callbacks for the JavaScriptHelper methods #1730 [court3nay/Thomas Fuchs]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1835 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-07-14 11:38:55 +00:00 |
|
Nicholas Seckar
|
bf0b7588ee
|
Add RouteSet#named_route so that RouteSet instance methods do not shadow available route names
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1834 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-07-14 10:32:37 +00:00 |
|
Nicholas Seckar
|
6ed16ff602
|
Provide correct defaults for Named Routes which do not specify :action
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1833 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-07-14 09:09:39 +00:00 |
|
David Heinemeier Hansson
|
16595c93b2
|
Made pagination faster #1334 [Stefan Kaes]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1832 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-07-14 08:02:01 +00:00 |
|
David Heinemeier Hansson
|
807df4fcf0
|
Made test_rendering_nothing_on_layout acknowledge the space
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1831 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-07-14 07:19:26 +00:00 |
|