José Valim
b613c3cc7b
Add an internal (private API) after_touch callback. [ #5271 state:resolved]
2010-08-02 16:16:46 +02:00
Jakub Kuźma
311ea94f73
added failing touch propagation test
...
Signed-off-by: José Valim <jose.valim@gmail.com >
2010-08-02 15:56:49 +02:00
Prashant P. Shah
3b44b52fb0
Corrected the rake test:units and test:functionals description [ #5251 state:committed]
...
Signed-off-by: Santiago Pastorino <santiago@wyeworks.com >
2010-08-01 22:17:15 -03:00
Santiago Pastorino
111234e7c1
Use AS::OrderedHash when trusting in the order of the hash
2010-08-01 21:56:06 -03:00
Carlos Antonio da Silva
11614bddc0
Fix label form helper to use I18n and html options, without the need of 'nil' text param:
...
Before: f.label :title, nil, :class => 'title'
After : f.label :title, :class => 'title'
[#5267 state:committed]
Signed-off-by: Santiago Pastorino <santiago@wyeworks.com >
2010-08-01 21:51:54 -03:00
Santiago Pastorino
fb0bd8c109
Makes form_helper use overriden model accessors
...
[#3374 state:committed]
2010-08-01 19:32:22 -03:00
Xavier Noria
f78de68649
explains Array.wrap directly, rather by comparison with Kernel#Array which is too obscure, leaves the comparison to document the differences, and adds a comparison with the related idiom that uses the splat operator
2010-08-01 03:19:58 +02:00
Johan Lundström
96f8325116
DHH forgot to remove JS, CSS in generated index.html [ #5261 state:resolved]
...
Signed-off-by: Santiago Pastorino <santiago@wyeworks.com >
2010-07-31 20:38:12 -03:00
Xavier Noria
1d1f810d22
fixes typo
2010-07-31 17:28:16 +02:00
Xavier Noria
f7f5299ee6
use the same amount of left indent in all code blocks of README.rdoc
2010-07-31 12:06:00 +02:00
Xavier Noria
3d7099891f
Merge remote branch 'rails/master'
2010-07-31 11:55:24 +02:00
Xavier Noria
d3819daaac
README.rdoc is your first impression, make sure it is clean
...
* Removes spurious markup from code blocks
* Integrates code blocks into ordinary paragraph flow
* Change link to the Rails Tutorial so that it points directly to the book
* Use proper RDoc markup for links
2010-07-31 11:51:29 +02:00
Aaron Patterson
834e304b22
reverting where() functionality, adding a test
2010-07-30 14:12:01 -07:00
Aaron Patterson
ecfb252e7a
fewer method calls, using faster methods when possible
2010-07-30 14:05:26 -07:00
Aaron Patterson
d1c53a9ad2
reducing function calls and using faster methods for testing
2010-07-30 13:38:09 -07:00
Xavier Noria
87a28e34ae
if there's a Gemfile and doc:guides can't load RedCloth, print instructions for bundler
2010-07-30 21:50:53 +02:00
Xavier Noria
05e0fa9cfb
the main page of the API generated by the doc:rails task is README
2010-07-30 21:50:53 +02:00
Santiago Pastorino
5132081975
AS gem doesn't depend on nokogiri so shows a nicer error if users haven't installed
2010-07-30 16:05:51 -03:00
Neeraj Singh
0e20e3ebc2
returns not returned . fixing documentation for reflection
2010-07-30 14:43:43 -04:00
Arkadiusz Holko
8828651420
Command Line Guide: changes all 'rails app' commands to 'rails new app'
2010-07-30 09:19:01 -07:00
Santiago Pastorino
95e9ced581
Make options an attr_reader
2010-07-30 12:09:47 -03:00
Steve Agalloco
b823e50a54
fix for rails app generator when using --pretend option
...
[#5245 state:committed]
Signed-off-by: Santiago Pastorino <santiago@wyeworks.com >
2010-07-30 11:55:07 -03:00
Rohit Arondekar
48d85a61bc
API Docs: Use 'HTTP_AUTHORIZATION' and not :authorize as key in integration tests.
2010-07-30 02:12:35 -07:00
Carl Lerche
d277b823d0
Add another missing require in 'active_support/inflector/inflections'
2010-07-29 22:53:21 -07:00
Santiago Pastorino
03fc2f03cb
Bump up bundler version to rc.2
2010-07-29 23:48:47 -03:00
Santiago Pastorino
e68e88e3ad
This version is going to be outdated when new nokogiri versions are released
2010-07-29 23:46:25 -03:00
Santiago Pastorino
55028a7326
Bump up nokogiri to 1.4.3.1
2010-07-29 23:44:31 -03:00
Tarmo Tänav
2ea922bcec
Don't increment and then decrement the same counter when re-assigning a belongs_to association
...
[#2786 state:committed]
Signed-off-by: Santiago Pastorino <santiago@wyeworks.com >
2010-07-29 22:37:20 -03:00
Xavier Noria
ccd45618ed
Merge remote branch 'rails/master'
2010-07-30 02:35:24 +02:00
Xavier Noria
755af49755
edit pass to apply API guideline wrt the use of "# =>" in example code
2010-07-30 02:30:04 +02:00
Aaron Patterson
a7a6a2ff46
got the ternary backwards. somehow the sqlite tests passed!
2010-07-29 16:08:30 -07:00
Aaron Patterson
f171bc64a2
PERF: avoiding splat args and reducing function calls
2010-07-29 14:55:57 -07:00
Neeraj Singh
3c3ff1377d
Adding documentation regarding lazy_load_hooks
2010-07-29 13:05:54 -04:00
Neeraj Singh
a506d5a524
updating documentation about lazy hooks in ActiveSupport
2010-07-29 12:52:15 -04:00
Rodrigo Dominguez
aa054c35f7
link_to_function now expects a piece of javascript code for the onclick parameter
...
[#5179 ]
Signed-off-by: Santiago Pastorino <santiago@wyeworks.com >
2010-07-29 13:11:53 -03:00
Carl Lerche
d04c6f2ff6
Add a missing require in 'active_support/core_ext/string/inflections'
2010-07-29 08:51:23 -07:00
Neeraj Singh
e42945333b
moving time zone related documentation to timestamp.rb from base.rb
2010-07-29 10:37:38 -04:00
paulccarey
2b2ee222f3
Merge branch 'master' of github.com:lifo/docrails
2010-07-29 15:34:59 +01:00
paulccarey
c178a26ec7
amended rails upgrade plugin instructions to be rails 2.3.x compatible instead of former rails 3 format
2010-07-29 15:33:33 +01:00
Neeraj Singh
873c5a9e59
adding documentation regarding time_zone_aware_attributes and skip_time_zone_conversion_for_attributes
2010-07-29 10:29:33 -04:00
Neeraj Singh
1a6d76223b
expanding on the will_change! method in documentation
2010-07-29 09:18:29 -04:00
José Valim
0f0bdaea7b
Revert "Avoid uneeded queries in session stores if sid is not given."
...
First step to merge Rails and Rack session stores. Rack always expects to receive the SID since it may have different behavior if the SID is nil.
This reverts commit e210895ba9 .
2010-07-29 09:10:01 +02:00
Neeraj Singh
627d870c92
itsy bitsy changes to documentation
2010-07-28 22:44:32 -04:00
Neeraj Singh
daad4454eb
itsy bitsy changes to ActionMailer documentation
2010-07-28 22:22:50 -04:00
Neeraj Singh
2df365529b
putting receive method under tt
2010-07-28 21:50:24 -04:00
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
Aaron Patterson
d69949ed0d
Shouldn't have committed this! Revert "avoid calling to_sql twice"
...
This reverts commit 1c030a3c3c .
2010-07-28 17:03:52 -07:00
Aaron Patterson
1c030a3c3c
avoid calling to_sql twice
2010-07-28 17:01:32 -07: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