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
Paul Yoder
cb3e6c3665
small edit on options extraction documentation
2011-01-31 13:48:58 -06:00
Keith Wansbrough
7ada0fb598
Refer to the correct action - it's the update action, in the special case where we want to render the edit view.
2011-01-27 11:39:47 -08:00
Vijay Dev
7af3b3988c
Revert "fix csrf_meta_tag"
...
This reverts commit 6641bf877a8408eb28d76077bb0a346a97465485.
2011-01-24 02:32:53 +05:30
Vijay Dev
340c7d182e
filter_parameter_logging => config.filter_parameters
2011-01-23 20:29:03 +05:30
Vijay Dev
6641bf877a
fix csrf_meta_tag
2011-01-23 20:22:17 +05:30
Xavier Noria
236f1f52cd
Merge branch 'master' of git://github.com/lifo/docrails
2011-01-20 10:33:38 +01:00
Tobias Bühlmann
94e0f1db1c
use name instead of title in example
2011-01-19 22:03:54 +01:00
Vijay Dev
77e1a99970
minor edits
2011-01-17 00:16:00 +05:30
Vijay Dev
3c6c240431
Document the LANGUAGE option for generating guides
2011-01-15 23:50:03 +05:30
Vijay Dev
100ab5bd43
Documented the except and only conditions in the guides. Took the cue from Jordi Ramero's commit (b31ef7ee83f3fe808f7534172ce2bf22ef6c7cc0)
2011-01-15 23:39:44 +05:30
Vijay Dev
93c208a630
use new AR api
2011-01-14 22:51:15 +05:30
Vijay Dev
31767b0032
ends_width => ends_with
2011-01-14 22:10:22 +05:30
Xavier Noria
74188cbff4
upgrades RedCloth dependency to ~> 4.2, adds RedCloth to the project's Rakefile, removes gem call from the guides generator (use bundle exec if needed)
2011-01-12 21:12:44 +01:00
Vijay Dev
4d29816fda
fixed query output
2011-01-09 02:24:30 +05:30