Commit Graph

21023 Commits

Author SHA1 Message Date
Rodrigo Navarro
b39766fda5 Adding examples 2011-02-21 13:44:20 -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
Nicholas Rowe
fab5fe7f60 Documentation: Added small comments to Observering module 2011-02-21 13:44:19 -08:00
Nicholas Rowe
746a412055 Tpyo: fixing several cases of the the 2011-02-21 13:44:19 -08:00
Nicholas Rowe
2a816db446 Typo: fixing the the 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
Ben Orenstein
308328fd7f Add a forgotten word. 2011-02-21 13:44:19 -08:00
Ben Orenstein
a40b7159d9 Improve clarity of example. Make it follow guidelines for output display. 2011-02-21 13:44:18 -08:00
Ben Orenstein
797af0faa5 Add a clearer example for with_options (lifted from the Active Support guide). 2011-02-21 13:44:18 -08:00
Jimmy Cuadra
74b44dfb86 improve language and examples in Railtie docs 2011-02-21 13:44:18 -08:00
Peer Allan
8f17a81cbd Clarification of ActiveRecord ActiveModel validation documentation 2011-02-21 13:44:18 -08:00
Mark Turner
cd12c36996 Added .rvmrc to gitignore 2011-02-21 17:19:13 +08:00
Xavier Noria
6c30530b00 adds Range#cover? to the CHANGELOG 2011-02-20 11:01:07 +01:00
Xavier Noria
e2d54fb3f1 documents the backported Range#cover?, and related stuff 2011-02-20 10:52:49 +01:00
wycats
e984fd43d5 Allow tests to proceed as soon as the payload changes, instead of always having to wait for a timeout 2011-02-20 01:39:25 -08:00
wycats
89e6b19356 Add tests for an FSSM backend for the file system watcher using the FSSM polling support. 2011-02-20 01:10:34 -08:00
Diego Carrion
511bf2a050 refactored ActiveModel::Validations::InclusionValidator#validate_each
[#6455 state:committed]

Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
2011-02-19 23:24:38 -02:00
Diego Carrion
b0da0dd834 added Range#count? for Ruby 1.8
Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
2011-02-19 23:24:30 -02:00
Aaron Patterson
289cc15f1a instance_methods includes public and protected, so reduce funcalls and object allocs 2011-02-18 17:32:08 -08:00
Aaron Patterson
8657826f41 oops, no need for puts! 2011-02-18 15:53:54 -08:00
Aaron Patterson
30679bc705 AR::AttributeMethods does not need to be included in an AR::Base class. 2011-02-18 15:51:39 -08:00
Xavier Noria
ce76cfc61f fixes a merge conflict 2011-02-19 00:42:51 +01:00
Emilio Tagua
18439e28e0 We really don't care about IM middleware order, the important is that it gets included. 2011-02-18 14:57:29 -08: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 1c21f75f1b.
2011-02-18 23:03:54 +01:00
Xavier Noria
2acb5e348d removes unrealistic example (authentication plus gender?), that it is not needed anyway 2011-02-18 22:54:02 +01:00
Frederick Cheung
fbfa30a1ee Change validates inclusion to use cover? for Ranges in ruby 1.9 [#6453 state:committed]
Signed-off-by: Xavier Noria <fxn@hashref.com>
2011-02-18 21:32:28 +01:00
Nicholas Rowe
ad3e4e3af6 Clarify Example in ActiveRecord base 2011-02-18 14:43:53 -05:00
Emilio Tagua
00418ac96b Merge remote branch 'rails/master' into identity_map 2011-02-18 16:22:50 -03:00
Emilio Tagua
3927827dbe Don't use skip, just don't run anything, we don't have skip in Ruby 1.8 2011-02-18 16:20:15 -03:00
Emilio Tagua
3e5efb3708 Remove nbproject form gitignore. This shouldn't be here in the first place. 2011-02-18 16:07:58 -03:00
Emilio Tagua
d9eb007edf WeakHash is not used, remove it. 2011-02-18 16:05:24 -03:00
Emilio Tagua
8052623a3d No need to have reinit_with inside an InstanceMethods module. 2011-02-18 16:04:47 -03:00
Emilio Tagua
49f3525f19 Initialize @target instead asking if it is defined. 2011-02-18 15:55:55 -03:00
Jon Leighton
6975a41adf Remove test which was broken on 1.8. This test is now irrelevant since singular associations no longer return a proxy object. 2011-02-18 18:50:35 +00:00
Aaron Patterson
2e748feb80 just use the list of column names to generate attribute methods 2011-02-18 10:47:19 -08:00
Emilio Tagua
eb23b2247d Should use "=" instead "replace" after this commit: 1644663ba7 2011-02-18 15:44:23 -03:00
Emilio Tagua
d21a454327 No need to test agaisnt target. 2011-02-18 15:40:48 -03:00
Emilio Tagua
356086944d Reindent and remove wrong line left in merge by mistake. 2011-02-18 15:40:06 -03:00
Emilio Tagua
b8c2feb97e Use to_a instead :load in test, since :load changed. 2011-02-18 15:38:17 -03:00
Emilio Tagua
15a03ca9b0 No need to test against target anymore. 2011-02-18 15:38:00 -03:00
Emilio Tagua
0b702ba3de Merge remote branch 'rails/master' into identity_map
Conflicts:
	activerecord/lib/active_record/associations/association.rb
	activerecord/lib/active_record/fixtures.rb
2011-02-18 15:29:33 -03: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
Nicholas Rowe
a906deabc6 fix type: remove extra period 2011-02-17 20:34:22 -05:00