Zoltan Debre
ffde34d510
Change 'validates_presence_of' to 'presence: true'
...
Of course validates_presence_of is still working but it is not explained in the guide, I think consequently should use 'presence: true' in this documentation.
2013-04-16 00:56:12 +02:00
Yves Senn
1655f4142e
more Ruby 1.9 Hash syntax in our guides
2013-04-15 14:46:11 +02:00
Yves Senn
bd4470e319
Ruby 1.9 hash syntax for action controller guide
2013-04-15 14:30:33 +02:00
Chase DuBois
b1286d3918
Align table of HTTP status codes with set supported by current Rack
2013-04-14 16:33:41 -07:00
Chase DuBois
1ed40d7c2e
Clarify arguments of head method
2013-04-14 13:37:30 -07:00
Prathamesh Sonpatki
be1af1b896
Fixed typo [ci skip]
2013-04-15 00:34:29 +05:30
Iain Beeston
5495bac354
Tried to make the response status code table more readable
...
By making it the last thing in it's section and adding pseudo row headers
2013-04-14 18:30:53 +10:00
Prathamesh Sonpatki
3f52e5aa16
Updated link to peepcode Git screencast
2013-04-14 13:58:31 +05:30
Prathamesh Sonpatki
8ffaa39b75
Added description for mtime
2013-04-14 13:38:23 +05:30
Prathamesh Sonpatki
00a805d419
ARel -> Arel
2013-04-14 12:33:28 +05:30
Prathamesh Sonpatki
2026bb1026
Changed grammar for better readability
2013-04-14 12:17:03 +05:30
Vijay Dev
130d3a06ad
Merge branch 'master' of github.com:lifo/docrails
2013-04-13 23:55:33 +05:30
Xavier Noria
48e9ff75c4
Merge pull request #10207 from epiclabs/use_define_singleton_method
...
use define_singleton_method instead of class_eval
2013-04-13 10:32:01 -07:00
Francesco Rodriguez
9e82ffcada
use define_singleton_method instead of class_eval
2013-04-13 12:14:12 -05:00
Xavier Noria
af7fc660e5
Merge pull request #10206 from epiclabs/nodoc_for_missing_method
...
Add :nodoc: mark to PerThreadRegistry#method_missing [ci skip]
2013-04-13 10:03:52 -07:00
Francesco Rodriguez
364f579b8c
Add :nodoc: mark to PerThreadRegistry#method_missing [ci skip]
2013-04-13 11:56:19 -05:00
Carson McDonald
e890a69500
Corrected paramter to parameter
2013-04-13 11:36:50 -04:00
Guillermo Iguaran
fb7a8c1423
Merge pull request #10204 from shmatov/update-git-links
...
Update github links
2013-04-13 08:25:50 -07:00
Roman Shmatov
f31e60d9dd
update git links
2013-04-13 21:16:59 +06:00
Xavier Noria
e5ef3abdd2
hides the per thread registry instance, and caches singleton methods
...
Existing code was delegating to the instance with delegate
macro calls, or invoking the instance method to reach
the object and call its instance methods.
But the point is to have a clean class-level interface where
the thread local instance is hidden in the implementation.
References #11c6973.
References #10198 .
2013-04-13 17:09:13 +02:00
Carlos Antonio da Silva
67bb49b69e
Merge pull request #10201 from vipulnsward/remove_unused_var_in_guides
...
remove unused variable
2013-04-13 04:47:12 -07:00
Vipul A M
7ecaa0057c
remove unused variable
2013-04-13 13:19:54 +05:30
Xavier Noria
11c697383e
removes calls to AR::Runtime.instance
...
Registries have class-level accessors to write clean code, let's
use them. This makes style uniform also with existing usage in
ScopeRegistry and InstrumentationRegistry.
If performance of the method_missing callback was ever considered to
be a concern, then we should stop using it altogether and probably
remove the callback. But while we have the feature we should use it.
2013-04-13 09:04:44 +02:00
Xavier Noria
a548c4591b
simplifies the RDoc of AR::RuntimeRegistry
...
The previous version was kind of duplicating the documentation of
AS::PerThreadRegistry. Just say how to use it, the thread locals
registry is know part of our vocabulary (though a pointer to
Active Support is added for reference).
2013-04-13 08:27:15 +02:00
Xavier Noria
2d42fe7fb5
complete rewrite of the documentation of AS::PerThreadRegistry
...
* It focuses on how to use it.
* Removes some ambigueties in the original docs about whether the state is stored in the class.
* Documents it provides class-level accessors via method_missing.
* Documents that if the extended class has an initializer, it must accept no arguments.
2013-04-13 08:21:38 +02:00
Francesco Rodriguez
8f199d8e01
fix :nodoc: mark on AR::AttributeMethods::Serialization [ci skip]
2013-04-12 23:51:47 -05:00
Carlos Antonio da Silva
334e260c5f
Revert "Merge pull request #10194 from pabloh/extract_regexp_at_generators_testing_assertion"
...
This reverts commit 81f243375b
, reversing
changes made to c7673b0981
.
2013-04-12 21:16:05 -03:00
Carlos Antonio da Silva
81f243375b
Merge pull request #10194 from pabloh/extract_regexp_at_generators_testing_assertion
...
Extract method declaration regexp for assert_method into a constant
2013-04-12 16:51:21 -07:00
José Valim
c7673b0981
Merge pull request #10195 from jetthoughts/eager_load_on_rake_execution_tests
...
Added tests for `eager_load` config option rake tasks
2013-04-12 12:33:02 -07:00
Paul Nikitochkin
a49d93552f
Added tests for `eager_load` config option to do not eager load for rake tasks if `eager_load` is `true`
2013-04-12 22:24:54 +03:00
Pablo Herrero
83d0232304
Extract method declaration regexp into a constant
2013-04-12 15:40:30 -03:00
Carlos Antonio da Silva
70db38572a
Merge pull request #10192 from senny/align_expression_outputs
...
align the result of expressions vertically [ci skip].
2013-04-12 09:12:37 -07:00
Guillermo Iguaran
b36ef40c01
Merge pull request #9639 from BanzaiMan/chatham_islands_time
...
Add Chatham Islands Time (UTC+1245) support.
2013-04-12 08:49:48 -07:00
Hiro Asari
df3bda2c51
Add Chatham Islands Time (UTC+1245) support.
...
Also update the documentation on the number of supported time zones.
2013-04-12 11:28:12 -04:00
Yves Senn
068289f239
align the result of expressions vertically [ci skip].
2013-04-12 17:22:39 +02:00
Viktar Basharymau
9cb12265d8
Fix a typo
2013-04-12 17:35:02 +03:00
Carlos Antonio da Silva
1c2f80a66f
Merge pull request #10190 from senny/changelog_cleanup
...
Use unified and clean formatting in CHANGELOGS. [ci skip]
2013-04-12 06:54:13 -07:00
Yves Senn
c245437de7
use unified and clean formatting in CHANGELOGS. [ci skip]
2013-04-12 15:52:43 +02:00
Jonathan Roes
b12367348d
Update to Ryan's new book per his suggestion
...
See edeb98c274 (commitcomment-2995521)
2013-04-12 10:50:57 -03:00
Francesco Rodriguez
87735d3a28
minor edit on StatementCache documentation [ci skip]
2013-04-12 00:16:49 -05:00
Benjamin Tan Wei Hao
69a87d5ada
Fix links containing stray colons
2013-04-12 10:14:51 +08:00
Xavier Noria
481618cfc2
replaces Pathname#(dirname|realpath) with File.$1
...
Simpler, thanks to @rubys for the hint.
2013-04-12 02:33:46 +02:00
Santiago Pastorino
3c5517237f
Merge pull request #10179 from vipulnsward/refactor_order_hash_test
...
refactor order hash test; remove unused method param
2013-04-11 10:49:52 -07:00
Francesco Rodriguez
062d1f7189
Fix StatementCache docs format [ci skip]
2013-04-11 12:33:36 -05:00
Vijay Dev
b15ce4a006
Merge branch 'master' of github.com:lifo/docrails
...
Conflicts:
guides/source/action_mailer_basics.md
2013-04-11 22:58:14 +05:30
Vijay Dev
8a347d925d
add wip for the action view guide [ci skip]
2013-04-11 22:53:34 +05:30
Francesco Rodríguez
fd2fecc4aa
Merge pull request #136 from bricestacey/master
...
Unabbreviate AP to ActionPack [ci skip]
2013-04-11 09:51:10 -07:00
Vijay Dev
a24ef8611d
Revert "added details to section 4.1.2 of the Asset Pipeline guide, describing how to configure Apache to serve the gzipped version of the precompiled assets"
...
This reverts commit aec466e752
.
Reason: We're not sure about the correctness and won't want to document
something like this with doubts.
2013-04-11 22:12:56 +05:30
Vipul A M
afdf279e2f
refactor order hash test
2013-04-11 21:55:45 +05:30
Rafael Mendonça França
9027ce9f7e
Merge pull request #10175 from vipulnsward/initialize_fix
...
initialize instead of assert to fix warning
2013-04-11 09:20:54 -07:00