Commit Graph

1105 Commits

Author SHA1 Message Date
Gagan Awhad
f7a0a95de2 Added documentation for beginning_of_minute and end_of_minute to Active Support Core Extensions guide 2013-02-22 10:10:42 -06:00
bobbus
7ded3b8c4b Link is not relevant anymore
Cannot find the screencast on the internet, guess it was removed
2013-02-22 00:24:35 +01:00
Arne Brasseur
ac0285ecb8 Update the "upgrading" guide for people coming from 3.0 and 3.1. The latest versions for 3.1 and 3.2 are now 3.2.12 and 3.1.11 respectively. 2013-02-20 13:19:35 +01:00
Brian Kim
f9f6fc7a91 Fix bug in code example from layouts and rendering guide
The code in 2.3.2 assumed that render has an alert option like
redirect_to to create a flash alert message, but it doesn't.
2013-02-18 14:27:25 -05:00
Hanfei Shen
8743f800db Update guides/source/active_record_querying.md
Fix missing `ORDER BY id ASC` for Client.first(2);
Uppercase the little y in the SQL equivalent of the Client.last(2).
2013-02-19 00:41:09 +08:00
Noam Gagliardi
72118ba01d clarify singular and plural routes
Found the wording on line 158 somewhat confusing. Added short example to clarify.
2013-02-18 04:45:58 -05:00
Vijay Dev
0c145448c4 Merge branch 'master' of github.com:lifo/docrails
Conflicts:
	guides/source/upgrading_ruby_on_rails.md
2013-02-15 22:06:17 +05:30
Vijay Dev
2008fe606b copy edits [ci skip] 2013-02-15 22:01:11 +05:30
Rafael Mendonça França
3a388da87d Revert "incorrect content of models/comment.rb after 'rails generate'"
This reverts commit 0f0803fda5df60319d8646bb4f3e71f2e596316a.

Reason: The content was correct since attr_accessible was removed from
rails master.
2013-02-13 18:00:20 -02:00
Kuba Brecka
0f0803fda5 incorrect content of models/comment.rb after 'rails generate' 2013-02-13 20:57:06 +01:00
Americo Savinon
6530d42dbb Detail Ruby 1.8 ships with TestUnit and Ruby 1.9 with MiniTest 2013-02-12 14:56:19 -05:00
Yves Senn
9e23399c30 fix the example code in the engines guide. closes #8583. 2013-02-11 15:22:11 +01:00
Yves Senn
fdf04fe7f6 remove trailing whitespace from engines guide 2013-02-11 15:22:11 +01:00
Luis Vasconcellos
20985257a1 fix a typo on the engine guide 2013-02-11 00:59:47 -02:00
Jeremy Kemper
a0380e808d Prefer Ruby 2.0; require 1.9.3+ 2013-02-09 17:41:07 -07:00
Ryunosuke SATO
24e08450ee Fix supported ruby version for Rails 4 2013-02-10 04:11:52 +09:00
Ryunosuke SATO
07f533a2da Fix CoffeeScript example
`a[data-color]` is not used in example html.
2013-02-10 03:53:27 +09:00
Henrik Nyh
045f0195e0 Validations guide: validates_with init clarification.
As discussed with @josevalim on Ruby Rogues Parley.
2013-02-09 15:47:22 +01:00
Yves Senn
69f28a7d8d ruby constant syntax is not supported as routing :controller option.
The current implementation only works correctly if you supply the `:controller`
with directory notation (eg. `:controller => 'admin/posts'`).

The ruby constant notation (eg. `:controller => 'Admin::Posts`) leads to unexpected problems with `url_for`.

This patch prints a warning for every non supported `:controller` option. I also added documentation how
to work with namespaced controllers. The warning links to that documentation in the rails guide.
2013-02-06 20:56:09 +01:00
Ryunosuke SATO
7290fb2eaa Fix file name in document [ci skip]
This file was renamed in c8a25386d.
2013-02-05 09:53:28 +09:00
robertomiranda
ebcb53c1cf Update upgrading guide with ActionDispatch::BestStandardsSupport removal 2013-02-04 18:02:52 -05:00
Rafael Mendonça França
d3524852e2 Merge pull request #9151 from gogogarrett/patch-1
Fix link to point to new RefineryCMS repo
2013-02-02 05:01:22 -08:00
Xavier Noria
08b60fc2e5 Merge remote-tracking branch 'docrails/master' 2013-02-02 10:33:19 +01:00
Xavier Noria
6a86873552 Revert "Detail middleware initialization points in the initialization guide [ci skip]"
I feel this is too detailed for the guide. Most of that is not public interface,
and if tomorrow something is added or removed in those chains we do not want
to come here to maintain it. Also, linking to a gist is not a good idea in a guide.

We could have a more broad description of what goes in what order, the most key and
public things.

This reverts commit 862a05edf3af128f25a87999936262b733ed781e.
2013-02-02 10:27:52 +01:00
Garrett Heinlen
10c262c75d Fix link to point to new RefineryCMS repo 2013-02-01 20:06:12 -06:00
robertomiranda
a83183c721 Remove BestStandardsSupport references 2013-02-01 16:37:35 -05:00
Nicholas Schultz-Møller
26db079f94 Fix formatting: ruby->erb. [ci skip] 2013-01-31 15:11:18 +01:00
manishval
f409e0519f Typo in code 2013-01-29 14:58:52 -04:00
Xavier Noria
30034dfbc4 Merge pull request #8830 from antoinelyset/master
Improve String#squish whitespaces matching
2013-01-28 13:24:56 -08:00
Manish Valechha
879c18df83 Fix typo in rails plugins guide 2013-01-27 00:26:43 -04:00
Michael de Silva
862a05edf3 Detail middleware initialization points in the initialization guide [ci skip] 2013-01-27 06:12:33 +05:30
Xavier Noria
0b5d3f3273 Merge remote-tracking branch 'docrails/master'
Conflicts:
	actionpack/lib/action_view/helpers/form_options_helper.rb
	guides/code/getting_started/app/controllers/comments_controller.rb
2013-01-26 17:41:56 +01:00
Xavier Noria
4313461587 generic pass before merging docrails 2013-01-26 17:36:38 +01:00
José Valim
474e7dd82a Merge pull request #9084 from senny/document_am_delivieries_reset
document the behavior of `ActionMailer::Base.delivieries` in tests
2013-01-26 08:14:26 -08:00
Yves Senn
18dceeb425 document the behavior of ActionMailer::Base.delivieries in tests
thanks @danielpuglisi
2013-01-26 17:05:58 +01:00
Andrew Wilcox
4e5a4cf4b2 Remove mass-assignment line from guide summary 2013-01-25 23:45:55 -05:00
Juanjo Bazán
550299a671 fix Active Record/Action Pack Changelog links 2013-01-25 22:53:49 +01:00
Weston Platter
97b249112d [engines guide] reformatted some stuff 2013-01-24 02:42:40 -06:00
Weston Platter
9133aadfe2 [engines guide] reworded a run on 2013-01-24 02:42:21 -06:00
Vipul A M
d35b76283b Add new DB rake tasks to the contributing section. 2013-01-23 20:45:31 +05:30
Brian Littmann
bceeeaa4bd Typo, grammar, and comma love. 2013-01-22 15:59:49 -06:00
Antoine Lyset
b5245da94a Improve String#squish whitespaces matching 2013-01-22 22:46:11 +01:00
Brian Littmann
634a2aafbe Typo fix in guides/source/engines.md 2013-01-22 15:17:16 -06:00
Guillermo Iguaran
e35d0a6112 Merge pull request #9031 from virusman/doc-no-asset-concat
Remove old asset tags API from docs
2013-01-22 12:36:48 -08:00
virusman
921305b0c8 Remove old asset tags API from docs, reflecting changes from #7900 2013-01-23 00:24:01 +04:00
Carlos Antonio da Silva
2bca2f6418 Revert "updating i18n guide with locale config location."
This reverts commit 46902908910c041e268429d674bbe084399cc664.
2013-01-22 09:28:07 -02:00
Steve Klabnik
51b9def5bf fixing link to validations guide in getting started guide 2013-01-22 00:09:00 -05:00
Steve Klabnik
aadd16f913 Getting Started Guide: strong_parameters
Stuff didn't work because of strong_parameters. Now the right calls are
in place.
2013-01-22 00:08:31 -05:00
Xavier Noria
f667f0f7ee copy-edits 7e6e4f2 [ci skip]
Capitalization in the title of the section, enumerates the environments
in the usual order, adds a paragraph, and tries to use less "you"s.
2013-01-21 21:14:50 +01:00
Yves Senn
7e6e4f2547 document how to create custom rails environments 2013-01-21 20:38:04 +01:00