Neeraj Singh
c2341ee71a
superclass_delegating_accessor has been deprecated.
...
I am working on removing all traces of superclass_delegating_accessor from rails code base.
https://rails.lighthouseapp.com/projects/8994/tickets/2914-superclass_delegating_accessor-needs-to-be-deprecated-nicely
2010-07-28 21:44:26 -04:00
Simon Tokumine
f46e841f72
removed ambiguity from autosave description
2010-07-28 14:56:05 -07:00
Neeraj Singh
31f8a0cd23
adding punctuations
2010-07-28 13:10:04 -04:00
Neeraj Singh
51924d49af
more documentation for update_attribute
2010-07-28 12:51:36 -04:00
José Valim
7c3d479c4b
More documentation to class_attribute.
2010-07-28 08:49:54 -07:00
Neeraj Singh
dea8bf5dc4
editing the documentation regarding :race_condition_ttl and :expires_in option in AS cache
2010-07-28 11:22:35 -04:00
Neeraj Singh
2d601e4ea3
editing a sentence
2010-07-28 10:56:10 -04:00
Neeraj Singh
5b10e47593
adding comment specifying that cattr_accessor also supports instance_write and instance_rader option
2010-07-28 10:13:11 -04:00
Neeraj Singh
eb902d6c00
clarifying the instance_write option with an example
2010-07-28 10:08:00 -04:00
Neeraj Singh
ff7e17d33e
adding some comments to cattr_accessor method
2010-07-28 10:05:10 -04:00
Neeraj Singh
f3b50b11c7
updating description of how class_attribute works
2010-07-28 09:53:38 -04:00
Xavier Noria
67e79cf96d
Revert "Frameworks are loaded in application.rb rather than config.rb according to Rails 3 conventions."
...
This reverts commit 1793b21479 .
This commit had no risk, but docrails has a hard rule about touching code.
The contribution is appreciated, I hope you do not mind this technical
revert. I'll apply that to master with proper credit.
2010-07-27 23:31:59 +02:00
Brian Smith
1793b21479
Frameworks are loaded in application.rb rather than config.rb according to Rails 3 conventions.
2010-07-27 14:27:15 -07:00
Neeraj Singh
e7920a3bde
clarifying description for class_attribute method
2010-07-27 16:30:56 -04:00
Neeraj Singh
865d208412
Merge branch 'master' of github.com:lifo/docrails
2010-07-27 13:55:33 -04:00
Neeraj Singh
c9fe3c3bd0
adding comments to update_attribute method
2010-07-27 13:55:00 -04:00
paulccarey
fd48460135
amended Contributing to Rails guide to advise to use bundler v1.0 to avoid error messages with bundler
2010-07-27 12:09:24 +01:00
Neeraj Singh
f3409dc0a0
polishing comments
2010-07-26 23:35:15 -04:00
Neeraj Singh
d214925625
making comments meaningful by correcting, adding and pruning
2010-07-26 23:03:46 -04:00
Neeraj Singh
c77adb40cc
Merge branch 'master' of github.com:lifo/docrails
2010-07-26 22:41:24 -04:00
Neeraj Singh
b357aedbf6
making comments have a consistent theme of narrative
2010-07-26 22:41:13 -04:00
Xavier Noria
10815e6e25
prefer %Q() over escaped double quotes
2010-07-27 00:06:31 +02:00
Arkadiusz Holko
2e3a86af8c
Fixed field_error_proc default example on guides
2010-07-26 15:00:23 -07:00
Xavier Noria
b31c0ae306
Merge remote branch 'rails/master'
2010-07-26 18:57:02 +02:00
Wincent Colaiuta
c819c131f2
doc: cleanup respond_to documentation
...
Signed-off-by: Wincent Colaiuta <win@wincent.com >
2010-07-26 18:55:51 +02:00
Santiago Pastorino
fd589db863
Changed returning with tap on guides
2010-07-26 18:55:51 +02:00
Leigh Caplan
37d82f2ca0
Test to ensure that falsy objects aren't wrapped by deprecation proxies
2010-07-26 09:53:42 -07:00
Leigh Caplan
e56c9ef08d
Override new on proxy objects so that they never wrap nil or false.
2010-07-26 09:53:42 -07:00
Bernerd Schaefer
e87e3db200
XmlMini.rename_key emits valid xml with dasherize
...
This resolves issues for libraries which use '_' prefixed keys in their
attributes hash, such as Mongoid. A key like "_id" or "_type" will no
longer be converted to "<-id>" and "<-type>".
Signed-off-by: wycats <wycats@gmail.com >
2010-07-26 09:48:22 -07:00
Santiago Pastorino
4ea1753fc2
This is for making sure const_missing is triggered without warnings
2010-07-26 12:51:52 -03:00
Santiago Pastorino
514624e53c
Fixes usage message when running rails without --dev on a cloned rails repo
2010-07-26 12:51:48 -03:00
Neeraj Singh
a44652baed
No need to check for :uniq
...
[#5170 state:resolved]
Signed-off-by: José Valim <jose.valim@gmail.com >
2010-07-26 17:41:04 +02:00
Łukasz Strzałkowski
da845275dd
Removed deprecated APIs in text and number helpers [ #5156 state:resolved]
...
They're deprecated since 2008. It's time to get rid of them.
Signed-off-by: José Valim <jose.valim@gmail.com >
2010-07-26 17:26:59 +02:00
Thiago Pradi
f70c0b348d
Removing unnecessary code [ #5192 state:resolved]
...
Signed-off-by: José Valim <jose.valim@gmail.com >
2010-07-26 17:13:52 +02:00
Josef Reidinger
0e969bdaf8
fix escaping id and parameters in path [ #5137 state:resolved]
...
Signed-off-by: José Valim <jose.valim@gmail.com >
2010-07-26 16:59:47 +02:00
Wincent Colaiuta
79f9fcd70d
doc: cleanup respond_to documentation
...
Signed-off-by: Wincent Colaiuta <win@wincent.com >
2010-07-26 16:59:22 +02:00
Neeraj Singh
78c8242d2f
strengthening the test suite for rescue_from
...
Signed-off-by: José Valim <jose.valim@gmail.com >
2010-07-26 16:48:50 +02:00
Neeraj Singh
a5bb1f511f
strengthening the rescue_from test suites
...
Signed-off-by: José Valim <jose.valim@gmail.com >
2010-07-26 16:48:45 +02:00
José Valim
9789d22137
Update to latest thor.
2010-07-26 11:41:52 +02:00
wycats
1b97701e51
Fix a bug where requires inside of autoloads were being added to the autoloaded_constants list, causing mayhem. [ #5165 state:resolved]
2010-07-26 00:59:54 -07:00
Santiago Pastorino
93e6dd1237
Changed returning with tap on guides
2010-07-25 20:59:18 -03:00
Aaron Patterson
13df581ec7
using AREL from the environment if it exists
2010-07-25 16:44:14 -07:00
Aaron Patterson
53fbbf4b83
fisting warning
2010-07-25 16:28:21 -07:00
Santiago Pastorino
2c4fcec44d
Gemfile now makes use of platforms calls with blocks instead of elsif logic to define dependencies over specific platforms
2010-07-26 06:42:44 +08:00
Santiago Pastorino
8abcd49995
Bump up bundler
2010-07-26 06:42:44 +08:00
Santiago Pastorino
963c71edfa
Don't interpolate a blank string, avoid warnings
2010-07-26 06:42:44 +08:00
Xavier Noria
6aa1253588
Merge remote branch 'docrails/master'
2010-07-26 00:23:57 +02:00
Aaron Patterson
df95948d45
do not execute the session tests within transactions
2010-07-25 15:17:03 -07:00
Xavier Noria
dcb7832ed5
APIs for individual components are no longer published
2010-07-26 00:05:14 +02:00
Xavier Noria
06853cb0a9
AS guide: Object#returning is gone
2010-07-25 23:42:24 +02:00