Commit Graph

15945 Commits

Author SHA1 Message Date
Anil Wadghule
fe0b52befb Changes in guide as per Rails 3 features 2010-04-13 12:25:44 +05:30
Anil Wadghule
3f0097c715 Updated guide to use 'Rails.root.join' to construct path 2010-04-13 00:56:34 +05:30
Anil Wadghule
84e46437fa Replace 'RAILS_ROOT' to 'Rails.root' and 'RAILS_ENV' to 'Rails.env' in significant places. 2010-04-12 22:53:49 +05:30
Malcolm Locke
41bcf06d32 low and behold => lo and behold! 2010-04-12 23:47:33 +12:00
Xavier Noria
1afee7ace8 Merge commit 'rohit/master' 2010-04-11 02:03:25 -07:00
Rohit Arondekar
c7e2b6413d Fixed indentation of database.yml examples. 2010-04-10 19:38:05 -07:00
Rohit Arondekar
a3e70ad578 Fixed indentation of database.yml examples. 2010-04-10 18:28:57 -07:00
wycats
87f7093ee3 Merge branch 'master' into docrails_master 2010-04-10 17:22:52 -04:00
wycats
381f877bbb Revert "Revert "Use path_names, not resource_path_names, consistently""
This reverts commit d3ec4b1ba6.
2010-04-10 15:54:29 -04:00
mfoster
5850edf104 Made arrays of ActiveRecords, and any classes, with namespaces convert to valid xml. [#3824 state:resolved]
Signed-off-by: José Valim <jose.valim@gmail.com>
2010-04-10 18:12:43 +02:00
Doug Alcorn
dc97430630 ActiveSupport::BacktraceCleaner#remove_filters! allows for completely untouched backtrace [#4079 state:resolved]
Signed-off-by: José Valim <jose.valim@gmail.com>
2010-04-10 14:06:10 +02:00
Aaron Patterson
f46dc9b6b7 clear the rest of the warnings, run with warnings turned on [#4332 state:resolved]
Signed-off-by: José Valim <jose.valim@gmail.com>
2010-04-10 13:50:38 +02:00
Aaron Patterson
922e4c57a4 kill warnings on 1.8.7 [#4331 state:resolved]
Signed-off-by: José Valim <jose.valim@gmail.com>
2010-04-10 13:50:35 +02:00
José Valim
b22d0914ac Fix a typo in load_once_paths [#4357 state:resolved] (ht: Kim Altintop) 2010-04-10 13:29:57 +02:00
Ryan Bigg
d748cc3cd0 Re-define empty? for errors to check if the values inside the OrderedHash are empty rather than the OrderedHash itself. [#4356 state:resolved]
Signed-off-by: José Valim <jose.valim@gmail.com>
2010-04-10 13:21:20 +02:00
José Valim
944637648c Use pluralize to properly inflect the number of errors. 2010-04-10 12:45:28 +02:00
José Valim
ee309d506c Update versions (otherwise you install a gem from source as beta3 but internally it's beta2) and update CHANGELOG. 2010-04-10 12:17:34 +02:00
José Valim
55d159b25d Remove error_messages_for data from locale. 2010-04-10 11:50:09 +02:00
José Valim
ece157e950 Move verification to a plugin as well: http://github.com/rails/verification.git 2010-04-10 11:47:20 +02:00
José Valim
26e05efdb6 Remove error_messages_for from scaffold. 2010-04-10 11:18:20 +02:00
José Valim
2f79c5b485 Merge branch 'master' of gitproxy:rails/rails 2010-04-10 10:55:19 +02:00
wycats
5087b831a0 Updated changelog 2010-04-10 04:54:25 -04:00
José Valim
cd79a46174 Remove input, form, error_messages_for and error_message_on from the framework. If you think you will miss them, feel free to use the dynamic_form plugin available at http://github.com/rails/dynamic_form 2010-04-10 10:53:05 +02:00
wycats
3401b9ba6d Update the routing guide for style and to add information on new routing features 2010-04-10 04:51:41 -04:00
José Valim
d3ec4b1ba6 Revert "Use path_names, not resource_path_names, consistently"
Breaks tests on Ruby 1.8.7.
This reverts commit 13bbf98d85.
2010-04-10 10:47:40 +02:00
wycats
13bbf98d85 Use path_names, not resource_path_names, consistently 2010-04-10 02:56:28 -04:00
Jeremy Kemper
7353fc1595 Dial back from 'namespace :controller => ...' to 'scope :module => ...' 2010-04-09 23:09:15 -07:00
Jeremy Kemper
561d9eff0c Add test showing root match in path namespace 2010-04-09 22:12:06 -07:00
Jeremy Kemper
ac0280c39d Routes can be selectively namespaced by path or controller module 2010-04-09 21:48:35 -07:00
Jeremy Kemper
e77a0311e5 Refactor for readability 2010-04-09 19:33:55 -07:00
Santiago Pastorino
c09744bec9 Fixed method sign error
Signed-off-by: José Valim <jose.valim@gmail.com>
2010-04-09 23:05:26 +02:00
Xavier Noria
ee8e9d5484 release notes: updates instructions for installing the current beta 2010-04-09 14:02:44 -07:00
Santiago Pastorino
13e00ce606 fix stack trace lines on class_eval
Signed-off-by: José Valim <jose.valim@gmail.com>
2010-04-09 21:28:49 +02:00
Xavier Noria
8b2266a8da image_path -> path_to_image in a couple of places, plus motivation for path_to_image in rdoc 2010-04-09 11:10:26 -07:00
David Heinemeier Hansson
38f1d3543e Stray carrier returns 2010-04-09 11:05:26 -07:00
David Heinemeier Hansson
00ff3ba56f Need a double escape there 2010-04-09 10:52:28 -07:00
David Heinemeier Hansson
915a0ac420 Notice/alert are out of the layout, so notice has to go back into show to make it work for scaffolding 2010-04-09 10:48:51 -07:00
Norman Clarke
e416f1d0ab Make tidy_bytes work on 1.9 and improve its performance. [#4350 state:resolved]
Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
2010-04-09 10:30:37 -07:00
Jeremy Kemper
ad22017bdc Use thor shorthand for indicating that application.html.erb is a template 2010-04-09 10:26:49 -07:00
Jeremy Kemper
ec8e747960 Partially revert "A new application now comes with a layout and a stylesheet."
This reverts commit ea2c5fa804.

Conflicts:

	railties/lib/rails/generators/rails/app/templates/app/views/layouts/application.html.erb
	railties/test/generators/app_generator_test.rb
2010-04-09 10:04:20 -07:00
Jeremy Kemper
c44cacb070 Include app name in layout title 2010-04-09 09:49:46 -07:00
Jeremy Kemper
ea6a67cbdf Discourage << as public API, much less config 2010-04-09 09:22:16 -07:00
Jeremy Kemper
19e6006636 Layout contents are html-safe 2010-04-09 09:14:02 -07:00
Jeremy Kemper
157216b7b7 Trim application.html.erb fat 2010-04-09 09:13:47 -07:00
Ryan Bigg
da69c5d8bf Expansion on require method from runtime.rb 2010-04-09 04:49:56 -07:00
Ryan Bigg
69d5259480 Continue expanding on Bundler. 2010-04-09 04:49:56 -07:00
Ryan Bigg
c93580b480 Further work on the bundler section. Almost there now. 2010-04-09 04:49:56 -07:00
Ryan Bigg
e35f05cc8e Mention a way to turn off bundler and begin talking about version_requirements 2010-04-09 04:49:55 -07:00
Ryan Bigg
b2a2d9f91b Further expansion into how Bundler loads the gemfile. 2010-04-09 04:49:55 -07:00
eparreno
5fa70e8ba9 CL guide: revises fonts in a few places 2010-04-09 04:49:36 -07:00