Commit Graph

15876 Commits

Author SHA1 Message Date
José Valim
cb8fa3573c Still use the directory command and also remove the fixture comments. 2010-04-09 08:47:19 +02:00
Santiago Pastorino
a654ef2ee1 Don't include fixtures if --skip-activerecord is given 2010-04-09 16:46:40 +12:00
Santiago Pastorino
808847792c db:test:prepare for tasks only if AR is loaded 2010-04-09 16:03:27 +12:00
Jeremy Kemper
4691c696b0 Expect an incompatible encoding exception when a template with a magic comment renders a partial without one and its source encoding doesn't match the default external encoding 2010-04-08 20:22:07 -07:00
Jeremy Kemper
bd2bf5390d Expect an incompatible encoding exception when a template doesn't have a magic comment and its source encoding doesn't match the default external encoding 2010-04-08 19:27:39 -07:00
Xavier Noria
fd7202a756 adds #favicon_link_tag back, rdoc explains why it is useful, and how to get a link for Mobile Safari with it 2010-04-08 18:13:23 -07:00
Carl Lerche
99d5459921 Fixed that default locale templates should be used if the current locale template is missing [DHH] 2010-04-08 18:11:26 -07:00
Michael Koziarski
1e3dce08e1 Revert "When creating database with rake, create schemas in schema_search_path if it doesn't exist."
This reverts commit 6c2a0675f1.

Reverting because it breaks the ability to run tests using a non-superuser.

Conflicts:

	activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb
	activerecord/lib/active_record/railties/databases.rake
2010-04-09 11:30:40 +12:00
Michael Koziarski
82514c2897 Add accessors for request and response so tests don't have to mess with internal ivars 2010-04-09 11:30:39 +12:00
David Heinemeier Hansson
5f808b865c Consistently use lowercase instead of camelCase for all JS class names in Rails 2010-04-08 12:17:46 -07:00
Aaron Patterson
0e44eb35d6 fisting stack trace [#4349 state:resolved]
Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
2010-04-08 12:03:57 -07:00
David Heinemeier Hansson
00ee9b3369 Revert "adds #favicon_link_tag and #apple_touch_icon_link_tag" -- these tags are too specific.
This reverts commit 6891f46d10, ec8610cfdc, and  d18ff1b7ef.
2010-04-08 11:49:34 -07:00
Jeremy Kemper
e7f0d37c91 Remove superfluous condition 2010-04-08 11:38:25 -07:00
Kristopher Murata
36129f21b8 Dirty datetime attributes should be aware of time zone info [#3658 state:resolved]
Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
2010-04-08 10:26:16 -07:00
Jeremy Kemper
ab5aa55cb8 Merge branch 'master' of github.com:rails/rails 2010-04-08 10:25:13 -07:00
Pratik Naik
2c27e3d336 Some doc updates reflecting the new query API 2010-04-08 16:49:52 +01:00
José Valim
91d1012a98 Update rails.js to the latest one at http://github.com/rails/prototype-ujs 2010-04-08 13:53:18 +02:00
José Valim
4e92134dfa Fix a bug in ActionDispatch::Static where Rails cannot find assets if started in another directory which is not the RAILS_ROOT. 2010-04-08 12:52:37 +02:00
Mikel Lindsaar
336cb3c0bf Adding Rails.env= to railties to allow changing of rails env on the fly for rake tasks etc
Signed-off-by: José Valim <jose.valim@gmail.com>
2010-04-08 12:07:19 +02:00
Xavier Noria
6891f46d10 adds #favicon_link_tag and #apple_touch_icon_link_tag to AP's CHANGELOG 2010-04-07 15:07:07 -07:00
Xavier Noria
ec8610cfdc adds a default source to #apple_touch_icon_link_tag 2010-04-07 13:20:52 -07:00
Joshua Peek
eed89e65b6 Make sure MemCacheStore logger exists 2010-04-07 15:08:23 -05:00
Xavier Noria
d18ff1b7ef new helpers #favicon_link_tag and #apple_touch_icon_link_tag 2010-04-07 13:04:52 -07:00
Jeremy Kemper
3957d44fd1 Use request.body IO and rewind, if possible 2010-04-07 11:42:07 -07:00
Joshua Peek
086392492c Remove #size call on rack input io 2010-04-07 11:41:14 -07:00
José Valim
149d13e1f0 Move the error raising to api_behavior. 2010-04-07 16:18:13 +02:00
José Valim
ec73710c79 Alleviate the pain in working with utf8 templates by setting a default encoding. 2010-04-07 02:25:36 +02:00
Pratik Naik
48634bf59a Reset named scope cache whenever the @target is reset 2010-04-07 01:16:45 +01:00
José Valim
eb063538bd Use config.filter_parameters on in-browser request dump. [#4335 state:resolved] 2010-04-07 01:42:51 +02:00
Xavier Noria
4c4fd1a60f Merge commit 'rails/master' 2010-04-06 15:38:05 -07:00
Xavier Noria
03cb74b946 guides: adds support in the indexer for custom header IDs, and some refactors 2010-04-06 15:20:44 -07:00
James Miller
92eab845a4 First run of updating erb syntax for 3.0 2010-04-06 14:27:19 -07:00
José Valim
af13057524 Use raw in yield since templates engines should not be required to html_safe their contents. 2010-04-06 23:08:21 +02:00
Xavier Noria
80e7178789 guides: adds page title to home and credits, and revises it in the rest 2010-04-06 11:30:00 -07:00
Jaime Iniesta
29d55d86d0 Fix form_helpers guide to validate XHTML 1.0 Strict 2010-04-06 18:05:04 +02:00
Jaime Iniesta
71057c814e Fix configuring guide to validate XHTML 1.0 Strict 2010-04-06 17:49:53 +02:00
Jaime Iniesta
d14deb7172 Fixed rails_on_rack guide to validate XHTML 1.0 Strict 2010-04-06 17:46:41 +02:00
Jaime Iniesta
6a4bf5590a Fix contributing_to_rails guide so that it validates XHTML 1.0 Strict 2010-04-06 17:42:36 +02:00
Jaime Iniesta
852e26ab89 Fix 3_0_release_notes so it valides XHTML 1.0 Strict 2010-04-06 12:19:17 +02:00
Jaime Iniesta
6be0fa6a06 Fix 2_2_release_notes so it validates XHTML 1.0 Strict 2010-04-06 12:10:24 +02:00
José Valim
46e2a44ee1 Rename search_field to test_search_field (ht: Piotr Usewicz) 2010-04-06 11:53:34 +02:00
José Valim
77b238d169 Remove :layout option from generators. 2010-04-06 11:51:30 +02:00
Simon Effenberg
4f1d0f6b7e remove_index now uses quote_table_name() [#4300 state:resolved]
Signed-off-by: Michael Koziarski <michael@koziarski.com>
2010-04-06 14:15:57 +12:00
David Heinemeier Hansson
ebc80ea1cb Merge branch 'master' of github.com:rails/rails 2010-04-05 16:08:03 -07:00
David Heinemeier Hansson
f8730e5ce6 Added all the new HTML5 form types as individual form tag methods (search, url, number, etc) (Closes #3646) [Stephen Celis] 2010-04-05 16:07:44 -07:00
wycats
0087d0748b Include author in changelog 2010-04-05 16:07:35 -07:00
David Heinemeier Hansson
40a3e67390 Merge branch 'master' of github.com:rails/rails 2010-04-05 16:02:47 -07:00
José Valim
4bacc2a66d Update the documentation for Engine and Railtie. 2010-04-05 16:02:23 -07:00
José Valim
542946a0c2 Update the documentation for Engine and Railtie. 2010-04-06 00:32:03 +02:00
José Valim
3b53468a1c Merge branch 'master' of gitproxy:rails/rails 2010-04-06 00:22:33 +02:00