Commit Graph

1545 Commits

Author SHA1 Message Date
Rodrigo Navarro
6ff10c17aa Pointing out that dynamic_form plugin must be installed to be able to use error_messages and error_messages_for view helpers. 2011-02-27 10:03:50 -08:00
Ben Orenstein
9b35eeec62 Clean up wording. 2011-02-26 19:07:41 -05:00
Vijay Dev
72ae724485 use resources in place of map.resources 2011-02-27 02:14:30 +05:30
Ben Orenstein
e331ec0952 Warn people that these methods are deprecated. 2011-02-26 13:28:40 -05:00
Ilya Zayats
6de3f1fb4e added information about TEST_DIR env variable 2011-02-26 07:49:50 +03:00
Vijay Dev
287bb6990c standardize all shell commands with the $ prefix 2011-02-25 02:59:37 +05:30
Rodrigo Navarro
0b2412978f Fixing wrong class name. 2011-02-23 10:23:01 -08:00
Rodrigo Navarro
29399e00c9 ActiveModel::Validator#validate must receive have a record parameter. 2011-02-23 10:22:03 -08:00
Mateus Paixão
20f2785849 alteracao de HTML para HTTP 2011-02-22 10:37:59 -03:00
Mani Tadayon
ae78e462bc Fix typo in i18n guide: 'explicitely' 2011-02-21 13:45:21 -08:00
Andy Lindeman
2b6845b1ef Specifying :partial is required when passing additional options such as :layout 2011-02-21 13:44:20 -08:00
Vijay Dev
406f7ebe69 cleans up PS1. Sorry lifo :) 2011-02-21 13:44:20 -08:00
Vijay Dev
c86cdea1b8 minor rephrasing 2011-02-21 13:44:19 -08:00
Ben Orenstein
2394ad69a4 Edit a few lines for readability. 2011-02-21 13:44:19 -08:00
Brandon Tilley
1e2ecc4d6f Add info about I18n::Backend::Chain to I18n guide 2011-02-21 13:44:19 -08:00
Vijay Dev
9345e9cca2 session is reset on token mismatch 2011-02-21 13:44:19 -08:00
Xavier Noria
e2d54fb3f1 documents the backported Range#cover?, and related stuff 2011-02-20 10:52:49 +01:00
Xavier Noria
f41bf6938f merges docrails 2011-02-18 23:22:15 +01:00
Xavier Noria
220cb107b6 removes indent from guides example 2011-02-18 23:13:29 +01:00
Xavier Noria
7c52da44ed Revert "Created a new Troubleshooting section in the migrations guide."
Mismatches between migrations and constants have nothing to do with
pluralization rules or model names. The mismatch happens between
the camelization of the filename minus timestamp, and the name of
the migration class itself.

This reverts commit 1c21f75f1b32ee8723c74a9bc7af70dfa02a509c.
2011-02-18 23:03:54 +01:00
Nicholas Rowe
7d9a80be93 Remove awkward phrasing from Ajax on Rails guide 2011-02-17 20:49:25 -05:00
Nicholas Rowe
9a9d895481 Fix Typos: remove several occurences of the the 2011-02-17 20:46:52 -05:00
Kedar Mhaswade
1c21f75f1b Created a new Troubleshooting section in the migrations guide.
Added a bullet point there showing how the Uninitialized Constant
(missing migration class) error looks like.
2011-02-17 16:27:01 -08:00
Brian Durand
017012b43a Add description of transaction callbacks to ActiveRecord callbacks guide. 2011-02-17 10:18:56 -06:00
Brian Durand
fead0fc448 update caching guide with the changes to ActiveSupport::Cache from the 3.0.0 release. 2011-02-17 10:14:22 -06:00
Vijay Dev
ed630dfc72 fix typo 2011-02-17 16:59:03 +05:30
Xavier Noria
5444ed56ab Revert "Fix error: docrails is a fork, not a branch."
Reason: Calling docrails a "branch" is fine, no need to change the terminology. It is a remote in my machine, and it has been called branch since the very beginning: http://weblog.rubyonrails.org/2008/5/2/help-improve-rails-documentation-on-git-branch

This reverts commit 35a266edfd9ac0f3afe7f7f13c2dcf29cb4b651f.
2011-02-15 22:17:25 +01:00
Ben Orenstein
35a266edfd Fix error: docrails is a fork, not a branch. 2011-02-15 11:51:07 -05:00
Andrew White
fd7605826a Add notes on how to override the default :id constraint [#5994 state:resolved] 2011-02-14 01:01:20 +00:00
Dan Neumann
a1cc07c35e Added --sandbox option to rails console explanation. 2011-02-13 18:14:05 -06:00
Andrew White
48fe62ee57 Remove incorrect assert_recognizes example 2011-02-14 00:09:05 +00:00
Dan Neumann
f7a31ce1cd Added simple demonstration of has_many :through 2011-02-13 17:50:39 -06:00
Mike Gehard
0617d3e3c6 change plugins guide to favor gem based plugins, clean up to reflect the state of Rails3 plugins, remove information not compatible with Rails3. 2011-02-13 14:21:17 -07:00
Xavier Noria
69f07dad62 the shell prompt for non-root sessions is "$" by convention 2011-02-13 01:40:32 +01:00
Xavier Noria
bc6554f63c Revert "Add note about running bundle install as root. Solves issue with '#' not being rendered, and it's more clear for beginners."
Reason: Running bundle as root is not recommended.

This reverts commit 0d40e2c397c9ce92c839a3c318ed8757cf213413.
2011-02-13 01:37:37 +01:00
Corey Ward
0d40e2c397 Add note about running bundle install as root. Solves issue with '#' not being rendered, and it's more clear for beginners. 2011-02-12 08:12:24 -08:00
jonnii
46ebbcd56b Change fenomenal to phenomenal. 2011-02-10 12:22:19 -08:00
Vijay Dev
0db9de6cf6 updated reference to remote_form_for 2011-02-11 00:17:03 +05:30
Vijay Dev
f68287f0be fix typos, minor edits 2011-02-10 23:37:55 +05:30
Xavier Noria
cb1f8413de now that the API guidelines are a guide, it is enough to assert that the names of Rails components have a space, no need to say it was checked with David in the past 2011-02-09 20:05:28 +01:00
John Paul Ashenfelter
04eaacca96 replaced MODEL.human_name with MODEL.model_name.human now that .human_name is deprecated 2011-02-09 11:23:42 -05:00
Vijay Dev
435bf4ca4b minor fixes in generators 2011-02-09 03:18:12 +05:30
Kevin Skoglund
77582075a6 Add note that validates_length_of will incorrectly pluralize min. length 1 2011-02-07 09:25:22 -05:00
Timothy N. Tsvetkov
7a77425901 Updated form rails guide for new place of authenticity_token option
Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
2011-02-07 10:50:58 -02:00
Paul Annesley
58dccf305a ActiveRecord :default_timezone is :utc in Rails, as set by active_record/railtie.rb 2011-02-06 16:04:29 -08:00
Vijay Dev
cc2b2719d8 fix minor typo 2011-02-07 01:34:12 +05:30
Henry Phan
742f5f4a5d Add CSS fix for WebKit/Mac rendering issue. 2011-02-05 13:09:35 -08:00
Timothy N. Tsvetkov
b9309b47cd Added tests for form_for and an authenticity_token option. Added docs for for_for and authenticity_token option. Added section to form helpers guide about forms for external resources and new authenticity_token option for form_tag and form_for helpers.
[#6228 state:committed]

Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
2011-02-05 18:58:32 -02:00
Santiago Pastorino
da2d24f7cf git am is better here 2011-02-04 21:36:10 -02:00
Fred Wu
19e68b4909 Fixed the SelectorAssertions documentation url. 2011-02-02 11:24:01 +11:00