José Valim
324f1451b0
Dump and load rack-cache stuff.
2011-05-17 17:33:17 -04:00
Jeremy Kemper
b77e032ccf
Merge pull request #247 from goncalossilva/performance_test
...
Performance tests improved
2011-05-17 14:28:40 -07:00
Joshua Peek
59baf2fc9c
Remove old call to sprockets context
2011-05-17 17:19:33 -04:00
José Valim
b81f77e2e2
Merge pull request #1093 from lucasmazza/patch-1
...
Using the correct CSS compressor for the yui-compressor gem.
2011-05-17 11:58:19 -07:00
José Valim
760dec17be
Use anonymous? that works on both Ruby 1.8 and 1.9.
2011-05-17 14:51:44 -04:00
David Chelimsky
13950a8cc9
add more robust test for wrapping params with anonymous class
2011-05-17 06:57:14 -04:00
Andy Lindeman
ee82e1c301
Add fix for error when an anonymous controller subclasses ApplicationController
2011-05-17 06:57:04 -04:00
Lucas Mazza
79249f590d
Using the correct CSS compressor for the yui-compressor gem.
2011-05-16 15:19:44 -07:00
José Valim
d043d65396
Merge pull request #570 from sikachu/decouple_actionpack
...
Make ParamsWrapper use a well-defined API and not rely on AR methods
2011-05-15 16:13:29 -07:00
Prem Sichanugrist
d77b306b63
Make ParamsWrapper calling newly introduced Model.attribute_names instead of .column_names
2011-05-15 19:07:44 -04:00
José Valim
6e581cce1c
Merge pull request #568 from carlosantoniodasilva/fields_for_fixes
...
Fields for fixes for non nested attributes and without object
2011-05-15 15:51:20 -07:00
Xavier Noria
dde82a44d7
Merge branch 'master' of git://github.com/lifo/docrails
2011-05-15 22:23:40 +02:00
Prem Sichanugrist
3bed43c6a5
Do not try to call column_names on the abstract class.
...
Normally the table for abstract class won't be existed, so we should not trying to call `#column_names` on it.
2011-05-15 00:41:20 -04:00
Carlos Antonio da Silva
82f33dce9c
Use record_name to make fields for methods more consistent
2011-05-14 22:18:36 -03:00
Carlos Antonio da Silva
f0479cbbd5
Refactor fields_for to make the api more clear, and fix usage with non nested attributes and without object
2011-05-14 22:09:12 -03:00
Pirogov Evgenij
4b10585128
Clean up redundant backslashes
2011-05-14 15:40:32 -07:00
Carlos Antonio da Silva
6871cda693
Cleanup instantiate builder method definition
2011-05-14 17:23:34 -03:00
Xavier Noria
d491130236
Merge branch 'master' of git://github.com/lifo/docrails
...
Conflicts:
actionpack/lib/action_view/helpers/date_helper.rb
railties/lib/rails/generators/rails/app/templates/config/initializers/wrap_parameters.rb.tt
2011-05-14 11:21:27 +02:00
Xavier Noria
e5524d538c
minor edits after going through what's new in docrails
2011-05-14 11:15:43 +02:00
Jason Dew
6b07d7f9da
typo
2011-05-13 17:15:29 -07:00
Joshua Peek
e2c4282fbf
Update for sprockets/master context class api
2011-05-12 22:05:46 -05:00
Nick Sutterer
e1ceae576e
added an example for AC::UrlFor usage to make usage simpler.
2011-05-12 09:58:26 +02:00
Nick Sutterer
e3b3f416b5
added docs for AbC::UrlFor and AC::UrlFor.
2011-05-12 09:31:36 +02:00
Sebastian Martinez
ab880b9eb0
Follow code conventions on docs
2011-05-10 20:55:31 -03:00
Sebastian Martinez
71d6b088ec
Fix styiling issues on DateHelper docs
2011-05-10 20:19:47 -03:00
Sebastian Martinez
956a0f4cfd
Fix styiling issues on AtomFeedHelper docs
2011-05-10 19:39:34 -03:00
Sebastian Martinez
1ca3ae5f41
Remove extra whitespace.
2011-05-10 19:36:00 -03:00
Sebastian Martinez
350b977e5b
Fix styiling issue on TranslationHelper docs
2011-05-10 19:34:59 -03:00
Sebastian Martinez
1f7d55e5c7
Fix styiling issue on ActionView::Template docs
2011-05-10 19:28:37 -03:00
José Valim
a87894ae57
Get around weird missing constant error caused by AS instead of simply raising NameError, closes #477 .
2011-05-11 00:08:43 +02:00
José Valim
3aa8f348ef
Fix previous commit by allowing a proc to be given as response_body. This is deprecated and is going to be removed in future releases.
2011-05-10 16:53:57 +02:00
Aditya Sanghi
a59a67d01c
Explain the implication of using :ignore_date on time_select
2011-05-10 07:37:27 -07:00
José Valim
86a0f7f735
Add tests for content_for() for read, closes #475 .
2011-05-10 10:22:09 +02:00
James Miller
bb1af05247
Missing an end in routing docs
2011-05-09 18:46:07 -07:00
Sebastian Martinez
ed8962c821
more fixed-fonts here
2011-05-09 22:21:00 -03:00
Sebastian Martinez
56a7db6ea8
added some fixed fonts
2011-05-09 22:06:04 -03:00
José Valim
59705deeaf
Warn if we cannot verify CSRF token authenticity
2011-05-09 17:23:41 +02:00
José Valim
851a4eab3c
Oops, missing autoload, closes #466
2011-05-09 15:12:58 +02:00
Philip Roberts
9b84bd354d
Fixed typos in documentation for the date_select helper in actionpack/action_view.
...
The description for an example of the date_select method did not match the actual code example.
2011-05-09 03:21:16 -07:00
José Valim
a9b72fbc9e
Optimize the most common resolver case.
2011-05-09 11:17:24 +02:00
José Valim
4f03e404b2
No need for replace.
2011-05-09 10:42:54 +02:00
Ryan Sandridge
95ec18a083
Documentation fix. Corrected a copy/paste mistake for link_to_if documentation.
2011-05-08 13:26:12 -04:00
Jason
c7d8661118
Fixed documentation of select tag; options with html need to pass through html_safe
...
https://github.com/rails/rails/issues/447
https://rails.lighthouseapp.com/projects/8994-ruby-on-rails/tickets/6759-api-document-incorrect
2011-05-08 08:58:48 -06:00
José Valim
80bf68aa1b
prepend the assets route instead of appending, closes #436
2011-05-08 12:59:04 +02:00
José Valim
e5a0122419
Revert to use === only here because of perf. :(
2011-05-08 12:40:15 +02:00
José Valim
843cab6f98
Merge pull request #420 from burke/master
...
Accept single prefix in ActionView::MissingTemplate#initialize
2011-05-08 03:35:14 -07:00
Gonçalo Silva
aec7456f81
Merge branch 'master' of https://github.com/rails/rails into performance_test
...
Conflicts:
activesupport/lib/active_support/testing/performance.rb
2011-05-08 03:54:55 +01:00
Burke Libbey
06671c37de
Added activesupport requires for Array.wrap in previously modified files
2011-05-07 18:30:50 -05:00
José Valim
0a1ba4eab0
Always expand */*
2011-05-07 23:43:44 +02:00
mathieuravaux
fadd1fa3d3
Fixes ticket #6379 . Improved the handling of Accept headers containing */*.
...
`lookup_context#formats=` being too restrictive, "Accept: text/javascript, */*"
resulted in [:js, "*/*"] formats instead of [:js, :html].
Signed-off-by: José Valim <jose.valim@gmail.com >
2011-05-07 23:35:52 +02:00