From a70675cd94f1f03779b19561710742af4238adc2 Mon Sep 17 00:00:00 2001 From: Santiago Pastorino Date: Sun, 29 Aug 2010 16:53:04 -0300 Subject: -v=1.0.0 not needed --- railties/guides/source/contributing_to_rails.textile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'railties') diff --git a/railties/guides/source/contributing_to_rails.textile b/railties/guides/source/contributing_to_rails.textile index a0225b4b17..7184759610 100644 --- a/railties/guides/source/contributing_to_rails.textile +++ b/railties/guides/source/contributing_to_rails.textile @@ -69,7 +69,7 @@ All of the Rails tests must pass with any code you submit, otherwise you have no NOTE: Ensure you install bundler v1.0 -gem install -v=1.0.0 bundler +gem install bundler bundle install --without db -- cgit v1.2.3 From 475ea14fd0a84604158ec30d9c718d3c8ae055d6 Mon Sep 17 00:00:00 2001 From: Xavier Noria Date: Sun, 29 Aug 2010 23:50:30 +0200 Subject: implements String#strip_heredoc --- .../source/active_support_core_extensions.textile | 25 ++++++++++++++++++++++ 1 file changed, 25 insertions(+) (limited to 'railties') diff --git a/railties/guides/source/active_support_core_extensions.textile b/railties/guides/source/active_support_core_extensions.textile index 696db30efb..dfc4d38112 100644 --- a/railties/guides/source/active_support_core_extensions.textile +++ b/railties/guides/source/active_support_core_extensions.textile @@ -1296,6 +1296,31 @@ Active Support defines 3rd person aliases of +String#start_with?+ and +String#en NOTE: Defined in +active_support/core_ext/string/starts_ends_with.rb+. +h4. +strip_heredoc+ + +The method +strip_heredoc+ strips indentation in heredocs. + +For example in + + +if options[:usage] + puts <<-USAGE.strip_heredoc + This command does such and such. + + Supported options are: + -h This message + ... + USAGE +end + + +the user would see the usage message aligned against the left margin. + +Technically, it looks for the least indented line in the whole string, and removes +that amount of leading whitespace. + +NOTE: Defined in +active_support/core_ext/string/strip.rb+. + h4. Access h5. +at(position)+ -- cgit v1.2.3 From b8619426916fdad32ab743f1c0b42dd19d4ebe71 Mon Sep 17 00:00:00 2001 From: Jeremy Kemper Date: Sun, 29 Aug 2010 22:06:48 -0700 Subject: Update CHANGELOGs for 3.0 release and upcoming 3.1 --- railties/CHANGELOG | 20 ++------------------ 1 file changed, 2 insertions(+), 18 deletions(-) (limited to 'railties') diff --git a/railties/CHANGELOG b/railties/CHANGELOG index 046b555a89..6add449cc4 100644 --- a/railties/CHANGELOG +++ b/railties/CHANGELOG @@ -1,14 +1,9 @@ -*Rails 3.0.0 (unreleased)* +*Rails 3.1.0 (unreleased)* * No changes -*Rails 3.0.0 [release candidate 2] (August 23rd, 2010)* - -* No changes - - -*Rails 3.0.0 [release candidate] (July 26th, 2010)* +*Rails 3.0.0 (August 29, 2010)* * Application generation: --skip-testunit and --skip-activerecord become --skip-test-unit and --skip-active-record respectively. [fxn] @@ -24,19 +19,10 @@ * Made the rails command work even when you're in a subdirectory [Chad Fowler] - -*Rails 3.0.0 [beta 4] (June 8th, 2010)* - * Removed Rails Metal [Yehuda Katz, José Valim]. - -*Rails 3.0.0 [beta 3] (April 13th, 2010)* - * Renamed config.cookie_secret to config.secret_token and pass it as env key. [José Valim] - -*Rails 3.0.0 [beta 2] (April 1st, 2010)* - * Session store configuration has changed [Yehuda Katz, Carl Lerche] config.session_store :cookie_store, {:key => "..."} @@ -48,8 +34,6 @@ * Added config.generators.templates to provide alternative paths for the generators to look for templates [José Valim] -*Rails 3.0.0 [beta 1] (February 4, 2010)* - * Added "rake about" as a replacement for script/about [DHH] * Removed all the default commands in script/* and replaced them with script/rails and a rails command that'll act the same when run from within the app [DHH]. Example: -- cgit v1.2.3