Commit Graph

6965 Commits

Author SHA1 Message Date
Jeremy Kemper
b77e032ccf Merge pull request #247 from goncalossilva/performance_test
Performance tests improved
2011-05-17 14:28:40 -07:00
Joshua Peek
1d8d799a01 Bump sprockets dependency 2011-05-17 17:20:27 -04: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
David Chelimsky
14d5e3e459 better test name 2011-05-17 06:56:53 -04:00
David Chelimsky
29e8ca3698 add failing test for https://github.com/rails/rails/issues/1089 2011-05-17 06:56:46 -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
Tom Ward
6d96124284 Reset ActiveRecord::LogSubscriber runtime at the start of each request
Previously the runtime was reset implicitly when #cleanup_view_runtime was called at the end of most requests. However, this doesn't happen when the request redirects, or send_file is called.  Consequently, the ActiveRecord runtime recorded in the logs included the time taken for both the current request and the previous redirect.  Explicitly resetting at the start of each request ensures that this can't happen, no matter what occurs previously.
2011-05-14 10:39:01 +01:00
Tom Ward
518ffcd168 Escape regex in controller_runtime_test to actually check that the ActiveRecord message appears 2011-05-14 10:39:01 +01: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
Vishnu K. Sharma
a4041c5392 rack_mount upgrade to new version 0.8.0 2011-05-13 10:44:08 -07:00
Piotr Sarnacki
2a98fd96aa Merge pull request #538 from arunagw/update_rack_mount
Update rack mount
2011-05-13 02:55:22 -07:00
Joshua Peek
e2c4282fbf Update for sprockets/master context class api 2011-05-12 22:05:46 -05:00
Arun Agrawal
975fd5669d rack-mount gem updated. 2011-05-13 08:01:16 +05:30
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
Santiago Pastorino
0979a7e680 Merge pull request #491 from arunagw/readme_changes
Some readme fixes as required.
2011-05-11 17:01:36 -07:00
David Lee
8366cabd65 Test csrf token param name customization 2011-05-10 18:24:14 -07: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
Piotr Sarnacki
9f0af6d6dd Merge pull request #495 from vatrai/minor_fixes
minor cleaning
2011-05-10 10:57:15 -07:00
Vishnu Atrai
33f0b6b67d minor cleaning 2011-05-10 22:51:54 +05:30
Aaron Patterson
134a05adcb Merge pull request #493 from guilleiguaran/changelog-fixes
Merging 3.0.x CHANGELOGs
2011-05-10 10:04:54 -07:00
Guillermo Iguaran
259c749de1 Merging 3.0.x CHANGELOGs 2011-05-10 11:51:35 -05:00
Arun Agrawal
9870afb37b Some readme fixes as required. 2011-05-10 22:00:06 +05:30
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
José Valim
4d5ce4738b Merge pull request #446 from danielstutzman/response_body_is_proc
New test: setting response_body to a Proc should be supported.
2011-05-10 07:38:43 -07: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