Gonçalo Silva
dcc99e23cd
benchmarker and profiler now use the new performance testing tools (support for Rubinius and JRuby and high configurability)
2011-05-10 02:33:01 +01:00
Gonçalo Silva
9ca97a6baf
fixed a typo in the guide
2011-05-09 23:46:07 +01:00
Vijay Dev
21be7f20e7
fixes github fork url
2011-05-10 00:08:38 +05:30
Sasha Gerrand
b97e6300ef
- Fixed typo in association parameters configuration (again)
2011-05-09 18:14:44 +10:00
Sasha Gerrand
e0fdbfd33a
- Fixed typo in the example of a self join on a model
2011-05-09 12:23:24 +10:00
Sasha Gerrand
fda9c7d0c8
- Moved foreign key parameter to correct location for self join on a model example
2011-05-09 12:20:44 +10:00
Vijay Dev
d6ff2eea0b
Include examples for negative ordinalize in the guide
2011-05-09 00:30:14 +05:30
Josh Kalderimis
b2451f4a7f
renamed mass-assignment scopes to roles, updated code, tests, docs and security guide
2011-05-08 16:43:29 +02:00
Vijay Dev
197f3f07d6
Included more details on Rails coding conventions (from LH Source Style page)
2011-05-08 15:12:18 +05:30
Gonçalo Silva
aec7456f81
Merge branch 'master' of https://github.com/rails/rails into performance_test
...
Conflicts:
activesupport/lib/active_support/testing/performance.rb
2011-05-08 03:54:55 +01:00
Vijay Dev
e35ba99e4b
remove unnecessary use of 'Example'
2011-05-07 22:38:00 +05:30
Paul Morganthall
6df7a223ca
Restore emphasis on 'application name'.
2011-05-05 12:19:01 -07:00
Jason Voegele
f649d137c0
Merge branch 'master' of github.com:lifo/docrails
2011-05-05 10:03:07 -07:00
Jason Voegele
0f7827ca34
Added info on using Ehcache as cache store.
2011-05-05 09:22:03 -07:00
Paul Morganthall
210ebd3623
Rails 3 requires the "new" command to create a new project.
2011-05-05 09:05:40 -07:00
Xavier Noria
cea3b3cc9d
Merge branch 'master' of git://github.com/lifo/docrails
2011-05-04 14:51:04 +02:00
Xavier Noria
d9c39c3ae9
restores the -j option, but now it accepts the name of any library
...
If passed "foo", a gem "foo-rails" is added to the Gemfile
and "foo" and "foo_ujs" are required in the application
JavaScript manifest.
2011-05-04 10:33:53 +02:00
backspace
3b795c12d7
Fix typo in Factory Girl description
2011-05-03 15:41:11 -05:00
Vijay Dev
09edaf4964
removed reference to verify method
2011-05-02 17:39:46 +05:30
Vijay Dev
527036ebd1
removed verify docs (feature removed in Rails3)
2011-05-02 17:31:00 +05:30
Sebastian Martinez
9fa080e703
Update security guide with #new and #create respect mass-assignment
2011-05-02 00:15:36 -03:00
Sebastian Martinez
ca608b8c9c
Bring this back on the contributing guide.
2011-05-01 12:28:16 -03:00
Vijay Dev
d1f7656448
remove info about adding verified tag
2011-05-01 16:15:53 +05:30
Vijay Dev
4760464efb
fix GitHub guides url
2011-05-01 15:46:46 +05:30
Xavier Noria
2fbf302149
Merge branch 'master' of git://github.com/lifo/docrails
...
Conflicts:
railties/guides/source/contributing_to_ruby_on_rails.textile
2011-05-01 11:16:31 +02:00
Santiago Pastorino
754c2dd2e1
Change from LH to github way of autoclosing issues
2011-04-30 02:16:50 -03:00
Xavier Noria
b2aacc346c
Prototype and Scriptaculous are no longer vendored, but provided by prototype-rails from now on, also the -j option of the application generator is removed
2011-04-30 03:53:24 +02:00
Mike Gehard
bf3a3c22c0
Removed so info about assigning to specific devs and adding tags. I don't believe that you can do that in GitHub issues. Remove state:committed notes as they also don't exist in GitHub issues.
2011-04-29 19:19:25 -06:00
Sebastian Martinez
1302bf295a
Added missing word on guide
2011-04-29 21:22:33 -03:00
Sebastian Martinez
9c0196a6bb
Upload patches is for LH, we use pull requests on GitHub now
2011-04-29 21:18:49 -03:00
Dan Pickett
1efaed5af1
Merge branch 'master' of github.com:lifo/docrails
2011-04-29 19:18:10 -04:00
Dan Pickett
85c8d73642
update contributors guide to reflect GitHub use
...
* outlines how to review pull requests
* outlines how to issue pull requests
* changed all references from LH => GH
2011-04-29 19:17:34 -04:00
Stefan Rohlfing
4c50a0f800
Edited railties/guides/source/routing.textile via GitHub
2011-04-28 00:25:03 -07:00
Vijay Dev
001a5a6496
document the reorder method(fb215110401c70cfc7013c6e2ad5753fa4e374e9)
2011-04-28 01:50:00 +05:30
Vijay Dev
089ee31aad
update the Array#from behaviour changes - returns [] if index exceeds array length
2011-04-27 22:21:50 +05:30
Vijay Dev
c1132f7093
added the list of reversible commands in the newer migrations
2011-04-26 23:40:47 +05:30
Vijay Dev
b105dc441b
minor changes in migrations guide
2011-04-26 23:18:55 +05:30
Prem Sichanugrist
d4259d8932
Change from self.(up|down)
to (up|down)
method
2011-04-26 23:33:39 +07:00
Prem Sichanugrist
72822800d5
Update guide to use change
method in various places after migration generator has changed.
2011-04-26 23:32:03 +07:00
Prem Sichanugrist
e6898e3b60
Change examples in guide to reflect changes from XML -> JSON
2011-04-26 22:23:57 +07:00
Josh Kalderimis
f3b9d3aba8
added config.active_record.whitelist_attributes which creates an empty whitelist of attributes available for mass assignment for all models in your app
2011-04-24 09:58:12 +02:00
Josh Kalderimis
b3ba36830b
updated the security guide on the updated mass-assignment security scopes addition, and assign_attributes in AR
2011-04-24 09:56:48 +02:00
Vijay Dev
dcee094b22
indentation fixes
2011-04-24 02:17:06 +05:30
Xavier Noria
ec33de5dcb
copy-edits 2f0dca5
2011-04-23 00:54:19 +02:00
Ronnie Miller
3050497a54
Grammer fix on note about wildcard routes
2011-04-22 14:50:52 -07:00
Vijay Dev
e46e106c54
fix block alignment
2011-04-23 03:06:06 +05:30
Vijay Dev
b22f39ec6f
fix indentation
2011-04-23 02:54:07 +05:30
Vijay Dev
98b700e0bf
add examples for array access methods
2011-04-23 02:54:07 +05:30
Vijay Dev
eac264d747
updating to_xml example to new AR api
2011-04-23 02:54:07 +05:30
Vijay Dev
2f0dca5ee0
document the Active Support extension - String#inquiry
2011-04-20 23:25:33 +05:30
Eric Anderson
a48f8089ab
Exception got moved to ActiveModel with Rails 3
2011-04-20 10:43:35 -04:00
Josh Kalderimis
68eb84d735
correction to the i18n locale filter examples
2011-04-19 22:52:00 +02:00
Xavier Noria
e162e912c9
Merge branch 'master' of git://github.com/lifo/docrails
...
Conflicts:
railties/guides/source/ajax_on_rails.textile
railties/guides/source/generators.textile
2011-04-19 21:54:10 +02:00
Xavier Noria
ad60286926
Revert "Better formatting"
...
No need to change this formatting.
This reverts commit 9c861e8a0e2f21959ede5f71b56f8a50996d6416.
2011-04-19 21:43:17 +02:00
Paco Guzman
66a2ffcdb7
Update link to Rails 2.3 guides from 2.3.8 to last release 2.3.11. Maybe someone could regenerate the guides
2011-04-19 11:24:09 +02:00
Malcolm Locke
9556e9c923
best-of-bread -> best-of-breed
2011-04-18 16:02:30 +12:00
Gonçalo Silva
1c2b2233c3
Merge branch 'master' of https://github.com/rails/rails into performance_test
2011-04-17 17:08:49 +01:00
Sebastian Martinez
38e77879e0
Remove 2.3 since guides are supposed to be for Rails 3
2011-04-17 13:06:48 -03:00
Sebastian Martinez
8606fff6f1
Added CHANGELOG entry for new section additions on ActionView guide
2011-04-16 20:09:54 -03:00
Sebastian Martinez
9c861e8a0e
Better formatting
2011-04-16 18:29:55 -03:00
Sebastian Martinez
558f096115
Added Templates section on ActionView guide.
2011-04-16 18:26:44 -03:00
Michal Papis
29caa46c40
Merge branch 'master' of github.com:lifo/docrails
2011-04-16 22:57:29 +02:00
Michal Papis
8c68bcf829
Added information about grouping conditional validations
2011-04-16 22:56:58 +02:00
Sebastian Martinez
143ed7edc3
Added Spacer Templates on Partials section of ActionView guide.
2011-04-16 17:32:04 -03:00
Sebastian Martinez
eecb8385b4
Added Partials section to ActionView guide.
2011-04-16 17:14:46 -03:00
Sebastian Martinez
7c9927a409
Added Using Action View with Rails guide section.
2011-04-16 16:02:05 -03:00
Sebastian Martinez
ba8a71588d
Added more detailed use of the +list+ command on debugging guide
2011-04-14 21:26:20 -03:00
Sebastian Martinez
bbfc6cda82
Remove extra whitespaces from guides
2011-04-14 20:37:12 -03:00
Sebastian Martinez
5be72684f6
Update guide mentioning that +in?+ may raise an +ArgumentError+ exception
2011-04-14 13:45:00 -03:00
Prem Sichanugrist
89884c194a
Update scaffold controller to generate scss file if Sass is available
2011-04-15 00:32:27 +08:00
Sebastian Martinez
28bf4c67ca
Move [#ticket_number state:commited] to the end of the commit message
2011-04-14 10:59:48 -03:00
Sebastian Martinez
1bcc7055d8
Remove extra whitespace
2011-04-14 10:05:08 -03:00
Sebastian Martinez
9aff7e0898
Update guides with controller generator producing asset stubs
2011-04-14 10:04:10 -03:00
Sebastian Martinez
02883a1090
Update Contributing to the Rails Code guide for automatically change the status of LH tickets
2011-04-14 09:36:22 -03:00
Sebastian Martinez
beed866e43
Fix patch file name to make it consistent with the rest of the guide
2011-04-13 23:38:05 -03:00
Matt Duncan
2f24265237
Making colon usage consistent
2011-04-13 20:58:26 -04:00
Matt Duncan
974a6aa176
Remove trailing whitespace
2011-04-13 20:49:14 -04:00
Matt Duncan
e56b19bbed
Aligning table cells
2011-04-13 20:32:36 -04:00
Matt Duncan
1447ff5654
Making identifiers consistent in example
2011-04-13 20:17:22 -04:00
Sebastian Martinez
f8ecb46e82
Documented +ActiveSupport::Notifications+ module.
2011-04-13 19:54:31 -03:00
Matt Duncan
04a75e0289
Moving note out of prologue to match other guides and so it'll display correctly
2011-04-13 17:19:47 -04:00
Sebastian Martinez
21c03a2f48
Update guides with new scaffold.css path
2011-04-13 15:42:44 -03:00
Sebastian Martinez
b2cb991251
Removed Object#among? from guides
2011-04-13 09:59:01 -03:00
Prem Sichanugrist
733bfa63f5
Remove #among?
from Active Support
...
After a long list of discussion about the performance problem from using varargs and the reason that we can't find a great pair for it, it would be best to remove support for it for now.
It will come back if we can find a good pair for it. For now, Bon Voyage, `#among?`.
2011-04-13 20:25:28 +08:00
Xavier Noria
6cf1fc5cda
removes mentions to RJS in the security guide
2011-04-13 13:24:32 +02:00
Xavier Noria
d8f23ca627
removes debug_rjs from ActionView::Base
2011-04-13 13:24:32 +02:00
Xavier Noria
5850f16935
removes the RJS template handler
2011-04-13 13:23:18 +02:00
Xavier Noria
eea66892c8
removes support for render :update
2011-04-13 13:23:17 +02:00
Xavier Noria
b878757c50
removes assert_select_rjs
2011-04-13 13:23:16 +02:00
Xavier Noria
096fa1b60f
jQuery is the new default
2011-04-13 13:23:16 +02:00
Sebastian Martinez
dbf32eb6ca
Changed Object#either? to Object#among? on guides
2011-04-12 18:58:41 -03:00
Xavier Noria
3366479a9a
Merge branch 'master' of git://github.com/lifo/docrails
2011-04-12 22:45:33 +02:00
Sebastian Martinez
40d156955c
Update guides reflecting that scaffold_controller generator generates now code for JSON response instead of XML
2011-04-11 22:43:27 -03:00
Sebastian Martinez
7a1189a2c7
Updated AS guide with new Object#in? and Object#either? methods
2011-04-11 20:09:22 -03:00
Xavier Noria
3f283c2dd5
Revert "Edited railties/guides/source/active_support_core_extensions.textile via GitHub"
...
Reason: The original sentence is correct. Please note the guide
covers the stable version of Active Support.
This reverts commit 5265650d51713a883e6cacde8f6faf52708abc1b.
2011-04-12 00:37:02 +02:00
David Heinemeier Hansson
d1575ae1b9
Change Object#either? to Object#among? -- thanks to @jamesarosen for the suggestion!
2011-04-12 00:23:07 +02:00
Oge Nnadi
5265650d51
Edited railties/guides/source/active_support_core_extensions.textile via GitHub
2011-04-11 14:26:23 -07:00
Prem Sichanugrist
a9f3c9da01
Using Object#in? and Object#either? in various places
...
There're a lot of places in Rails source code which make a lot of sense to switching to Object#in? or Object#either? instead of using [].include?.
2011-04-11 03:17:09 +08:00
Vijay Dev
e836fc1bd2
fix example query
2011-04-06 15:14:47 +05:30
Vijay Dev
4ac719686c
Merge branch 'master' of github.com:lifo/docrails
2011-04-04 02:43:12 +05:30