Skip to content
This repository
Browse code

ruby -> Ruby

  • Loading branch information...
commit 60a961f3b639ffb4f83fcdff89e93a200f09af60 1 parent 947cc87
प्रथमेश prathamesh-sonpatki authored
2  guides/source/3_0_release_notes.md
Source Rendered
@@ -342,7 +342,7 @@ Helpers that do something else, like `cache` or `content_for`, are not affected
342 342 * Helpers now output HTML 5 by default.
343 343 * Form label helper now pulls values from I18n with a single value, so `f.label :name` will pull the `:name` translation.
344 344 * I18n select label on should now be :en.helpers.select instead of :en.support.select.
345   -* You no longer need to place a minus sign at the end of a ruby interpolation inside an ERB template to remove the trailing carriage return in the HTML output.
  345 +* You no longer need to place a minus sign at the end of a Ruby interpolation inside an ERB template to remove the trailing carriage return in the HTML output.
346 346 * Added `grouped_collection_select` helper to Action View.
347 347 * `content_for?` has been added allowing you to check for the existence of content in a view before rendering.
348 348 * passing `:value => nil` to form helpers will set the field's `value` attribute to nil as opposed to using the default value
2  guides/source/active_support_core_extensions.md
Source Rendered
@@ -166,7 +166,7 @@ NOTE: Defined in `active_support/core_ext/object/duplicable.rb`.
166 166
167 167 ### `deep_dup`
168 168
169   -The `deep_dup` method returns deep copy of a given object. Normally, when you `dup` an object that contains other objects, ruby does not `dup` them, so it creates a shallow copy of the object. If you have an array with a string, for example, it will look like this:
  169 +The `deep_dup` method returns deep copy of a given object. Normally, when you `dup` an object that contains other objects, Ruby does not `dup` them, so it creates a shallow copy of the object. If you have an array with a string, for example, it will look like this:
170 170
171 171 ```ruby
172 172 array = ['string']
2  guides/source/routing.md
Source Rendered
@@ -857,7 +857,7 @@ resources :user_permissions, controller: 'admin/user_permissions'
857 857 This will route to the `Admin::UserPermissions` controller.
858 858
859 859 NOTE: Only the directory notation is supported. Specifying the
860   -controller with ruby constant notation (eg. `:controller =>
  860 +controller with Ruby constant notation (eg. `:controller =>
861 861 'Admin::UserPermissions'`) can lead to routing problems and results in
862 862 a warning.
863 863

0 comments on commit 60a961f

Please sign in to comment.
Something went wrong with that request. Please try again.