Jon Leighton
1d85a73ceb
Associations - where possible, call attributes methods rather than directly accessing the instance variables
2011-02-21 10:16:14 -08:00
Xavier Noria
f826e05835
Merge branch 'master' of git://github.com/lifo/docrails
2011-02-21 11:42:26 +01:00
Xavier Noria
b481574a33
copy-edits 8d96b89
2011-02-21 11:37:08 +01:00
Xavier Noria
9297027e08
copy-edits 6d7a826
2011-02-21 11:01:26 +01:00
Xavier Noria
843a5b9a3a
copy-edits 34316d8
2011-02-21 11:00:03 +01:00
Mark Turner
cd12c36996
Added .rvmrc to gitignore
2011-02-21 17:19:13 +08:00
Nicholas Rowe
34316d8b7e
Docs: Update to_xml documentation to match as_json docuemntation
2011-02-20 21:35:43 -05:00
Nicholas Rowe
b014f822e5
Merge branch 'master' of github.com:lifo/docrails
2011-02-20 21:06:03 -05:00
Nicholas Rowe
6d7a8267b9
Documentation: Added small comments to Observering module
2011-02-20 21:05:41 -05:00
Rodrigo Navarro
62fd334684
Adding new examples for update_all method
2011-02-20 22:22:52 -03:00
Rodrigo Navarro
4da0157aaf
Adding examples
2011-02-20 22:03:29 -03:00
Andy Lindeman
bdf83b7dc3
Specifying :partial is required when passing additional options such as :layout
2011-02-20 13:52:41 -06:00
Vijay Dev
7d12f53e85
cleans up PS1. Sorry lifo :)
2011-02-20 21:37:39 +05:30
Vijay Dev
35cb9b7f33
minor rephrasing
2011-02-20 21:31:12 +05:30
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
Nicholas Rowe
2a75c190d4
Tpyo: fixing several cases of the the
2011-02-19 23:47:12 -05:00
Nicholas Rowe
89b3bc4807
Typo: fixing the the
2011-02-19 23:46:30 -05: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
Ben Orenstein
6052929e88
Edit a few lines for readability.
2011-02-19 18:07:07 -05:00
Brandon Tilley
fe5c2c2d21
Add info about I18n::Backend::Chain to I18n guide
2011-02-19 14:49:42 -08:00
Vijay Dev
7e8b075f73
session is reset on token mismatch
2011-02-20 01:18:03 +05:30
Ben Orenstein
cff0aebbc4
Add a forgotten word.
2011-02-19 13:04:22 -05:00
Ben Orenstein
262dd965df
Improve clarity of example. Make it follow guidelines for output display.
2011-02-19 12:57:06 -05:00
Ben Orenstein
b3e5e25829
Add a clearer example for with_options (lifted from the Active Support guide).
2011-02-19 12:15:51 -05:00
Jimmy Cuadra
8af066b166
improve language and examples in Railtie docs
2011-02-18 22:20:04 -08:00
Peer Allan
8d96b89110
Clarification of ActiveRecord ActiveModel validation documentation
2011-02-18 20:51:56 -06: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