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
Santiago Pastorino
9a32af96d1
CHANGELOG updated Object#returning removed
...
Signed-off-by: José Valim <jose.valim@gmail.com >
2010-07-25 23:30:36 +02:00
Santiago Pastorino
b0b9bf3204
Object#returning removed
...
Signed-off-by: José Valim <jose.valim@gmail.com >
2010-07-25 23:30:27 +02:00
José Valim
f4200b0cd5
Cache instrumenter again as per Aaron's patch.
2010-07-25 23:00:15 +02:00
Carlos Antonio da Silva
751f89b8b2
Add assertion to link_to_function test with block and capture, and more expressive test name [ #5179 state:resolved]
...
Signed-off-by: José Valim <jose.valim@gmail.com >
2010-07-25 23:00:15 +02:00
Xavier Noria
92669b8320
application generation: --skip-testunit and --skip-activerecord renamed to --skip-test-unit and --skip-active-record respectively
...
Reason is their proper spellings are "Test::Unit" and "Active Record".
Option names and descriptions have been revised, as well as some method
names and minor details here and there.
2010-07-25 22:55:38 +02:00
José Valim
331df84cc9
Cache connection access.
2010-07-25 21:01:49 +02:00
José Valim
304c49b146
Move runtime back to connection.
2010-07-25 20:59:37 +02:00
José Valim
ff0d842454
Revert the previous three commits.
...
* AS::Notifications#instrument should not measure anything, it is not its responsibility;
* Adding another argument to AS::Notifications#instrument API needs to be properly discussed;
2010-07-25 20:46:42 +02:00
Aaron Patterson
0d0e793983
look up connection once
2010-07-25 11:16:13 -07:00