Xavier Noria
7fcbbafe1a
copy-edits ae9b3d7 [ci skip]
2012-10-09 18:18:00 +02:00
Xavier Noria
9c2b3b8008
AS guide: revises the description of #monday, and #sunday [ci skip]
...
The start of the week is a parameter nowadays, it is a little
confusing that we say here that we assume something about it.
Better to use "next" and "previous", which are clear regardless
of the concept of beginning of week.
Adds examples for the edge cases where the receiver is a
Monday or Sunday itself.
2012-10-09 18:09:52 +02:00
Xavier Noria
64dd071020
Merge pull request #7736 from gregolsen/beginning_of_week_guides
...
ActiveSupport core extensions guides update
2012-10-09 08:58:58 -07:00
Joe Fiorini
65a2977cdd
[Guides] Format content for small devices
2012-10-06 16:40:51 -04:00
Joe Fiorini
03bcd416b0
[Guides] Navigation styling for small devices
2012-10-06 16:38:37 -04:00
Santiago Pastorino
a0613ad8a9
Revert "Use flat_map { } instead of map {}.flatten"
...
This reverts commit abf8de85519141496a6773310964ec03f6106f3f.
We should take a deeper look to those cases flat_map doesn't do deep
flattening.
irb(main):002:0> [[[1,3], [1,2]]].map{|i| i}.flatten
=> [1, 3, 1, 2]
irb(main):003:0> [[[1,3], [1,2]]].flat_map{|i| i}
=> [[1, 3], [1, 2]]
2012-10-05 12:07:16 -03:00
Santiago Pastorino
abf8de8551
Use flat_map { } instead of map {}.flatten
2012-10-05 11:52:20 -03:00
Francesco Rodriguez
ea042bad26
add an entry about AP page and action extraction in the upgrading guide [ci skip]
2012-10-04 11:06:54 -05:00
Rafael Mendonça França
9e34127dad
Fix syntax error in the command_line guide [ci skip]
2012-09-28 16:08:16 -03:00
Vijay Dev
b8aa3923af
revise commandline guide [ci skip]
2012-09-28 23:47:15 +05:30
Vijay Dev
955a72c692
Merge branch 'master' of github.com:lifo/docrails
...
Conflicts:
actionpack/lib/action_view/helpers/asset_tag_helper.rb
2012-09-28 23:17:07 +05:30
Vijay Dev
cf3e760b87
copy editing [ci skip]
2012-09-28 23:15:09 +05:30
Sebastian Martinez
46f0fc6968
Add #update_columns entry in Rails 4.0 release notes [ci skip]
2012-09-27 23:30:07 +05:30
Teng Siong Ong
7a2b8099ef
bleakhouse is no longer useful for rails and outdated.
2012-09-27 23:29:45 +05:30
cczona
6ee8e929c3
typo fix: remove duplicate period
2012-09-27 23:29:23 +05:30
Steve Klabnik
15d475a63b
Remove readonly notice.
...
You need to have @implicit_readonly set for this to happen,
and it's false by defualt.
Fixes #3386 .
2012-09-26 07:59:18 -07:00
Bryan Larsen
2029c2ac18
Update guides/source/routing.md
2012-09-25 13:29:53 -03:00
Igor Zubkov
f51d95aee5
Fix typo in 4_0_release_notes.md
2012-09-25 01:50:21 +03:00
Rafael Mendonça França
86be49a602
Merge pull request #7727 from frodsan/security_guide_sp
...
update Security guide with StrongParameters documentation
2012-09-24 14:31:04 -07:00
Juanjo Bazán
c9a6c6c8d1
remove duplication
2012-09-24 23:28:02 +02:00
Francesco Rodriguez
2d4b9c76cc
update Security guide to reflect mass assignment protection with StrongParameters [ci skip]
2012-09-24 16:22:28 -05:00
Francesco Rodriguez
530102f656
add a note about DynamicForm in error_messages_for section [ci skip]
2012-09-24 15:39:45 -05:00
Santiago Pastorino
1dbe4baef5
Merge pull request #6936 from jfoley/callbacks
...
Fix collisions with before and after validation callbacks.
2012-09-24 07:52:50 -07:00
Xavier Noria
780ecb2bc1
adds the release notes for Rails 4.0 to the guides index
...
This is still an early draft, but let's add it to the index
to have it ready.
2012-09-24 11:54:36 +02:00
Teng Siong Ong
3723d24bb3
[ci skip] Update Performance Testing guide.
...
- remove Palmist which is no longer available.
- update link to Query Reviewer.
2012-09-23 20:57:11 -07:00
John Foley
f31ea4df3a
Add CHANGELOG entry and update the guide
2012-09-23 12:57:19 -06:00
Cory Logan
4fc620cc91
Removed duplicate line describing "default_options".
...
[ci skip]
2012-09-23 17:08:35 +07:00
Teng Siong Ong
a53c3f3878
[ci skip] Update Debugging Rails Application guide.
...
- remove query_stats plugin reference in debugging guide since it is no longer maintained.
- remove exception_logger plugin reference in debugging guide since it is no longer maintained.
- update query_reviewer url to the latest one on github.
2012-09-22 16:49:59 -07:00
gregolsen
f912437dd2
active support core extensions guides updated with config.beginning_of_week info
2012-09-22 23:28:18 +03:00
Francesco Rodriguez
3395ebe320
add note about AR#include_root_in_json default in Upgrading Rails guide [ci skip]
2012-09-21 16:49:33 -05:00
Vijay Dev
68bd4db190
Merge branch 'master' of github.com:lifo/docrails
2012-09-22 00:27:01 +05:30
José Corcuera
89a011ab8c
Update action_mailer_basics.md to ruby 1.9 syntax. [ci skip]
2012-09-21 13:55:42 -05:00
Vijay Dev
96ded2efb7
some edits in 4.0 release notes [ci skip]
2012-09-22 00:06:07 +05:30
Vijay Dev
271d1e7d8c
Fix typos and links in engines guide [ci skip]
2012-09-21 23:54:17 +05:30
José Corcuera
4a04833c1b
Update examples in action_controller_overview.md to ruby 1.9 syntax. [ci skip]
2012-09-21 13:11:34 -05:00
Vijay Dev
25c3c89e97
fix some md syntax errors and general revisions [ci skip]
2012-09-21 23:34:36 +05:30
Vijay Dev
3b7947ea31
Merge branch 'master' of github.com:lifo/docrails
...
Conflicts:
actionmailer/lib/action_mailer/base.rb
activesupport/lib/active_support/configurable.rb
activesupport/lib/active_support/core_ext/module/deprecation.rb
guides/source/action_controller_overview.md
guides/source/active_support_core_extensions.md
guides/source/ajax_on_rails.textile
guides/source/association_basics.textile
guides/source/upgrading_ruby_on_rails.md
While resolving conflicts, I have chosen to ignore changes done in
docrails at some places - these will be most likely 1.9 hash syntax
changes.
2012-09-21 22:49:20 +05:30
Przemek Hocke
79942d426d
correct a typo
2012-09-21 03:49:26 +02:00
Przemek Hocke
fca6c0f03c
Add missing "m" char
2012-09-21 03:48:17 +02:00
Przemek Hocke
649a95b8af
fix two typos in the associations guide
2012-09-21 03:46:14 +02:00
Przemek Hocke
deed3f9975
fix a small typo
2012-09-21 03:40:49 +02:00
Guillermo Iguaran
66ed71fd6f
Remove highly uncommon config.assets.manifest
option for moving the manifest path.
...
This option is now unsupported in sprockets-rails.
2012-09-19 18:02:37 -05:00
Xavier Noria
7c2d33bd86
extracts manual development dependencies installation to a new non-promoted guide
...
The purpose of this refactor is twofold:
* Emphasize the Rails development box as
the recommended way to setup a dev
environment by taking out the rest of
the instructions.
* Lighten the contributing guide, this
non-essential information takes a
disproportionate amount of space now
that we have the rails-dev-box.
2012-09-20 00:02:47 +02:00
Steve Klabnik
166409337a
Update 3.0 -> 3.1 session information.
...
Fixes #7685
2012-09-18 20:47:54 +03:00
gregolsen
da26dfbefd
Date.beginning_of_week thread local and beginning_of_week application config option added (default is Monday)
2012-09-18 17:18:19 +03:00
Steve Klabnik
143675189e
Expanded note about poly associations.
...
Now with example!
2012-09-18 03:26:11 +03:00
Prem Sichanugrist
1fa5c3b39f
Fix footnote format
...
Markdown has footnote, but Redcarpet doesn't support it.
2012-09-17 15:55:17 -04:00
Prem Sichanugrist
fd56c3a72e
Fix broken and duplicate headings
2012-09-17 15:55:17 -04:00
Prem Sichanugrist
5e2866cc34
No more Textile guide generation support
2012-09-17 15:55:17 -04:00
Prem Sichanugrist
7a0dad25f3
Convert legacy release notes to Markdown
2012-09-17 15:54:24 -04:00