| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| | |
| | |
| | |
| | | |
Signed-off-by: José Valim <jose.valim@gmail.com>
|
| | |
| | |
| | |
| | |
| | |
| | | |
belongs) [#5071 state:resolved]
Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
|
| | |
| | |
| | |
| | | |
Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
|
| | |
| | |
| | |
| | | |
Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
|
| | |
| | |
| | |
| | |
| | |
| | | |
(It's not out yet)
This reverts commit 64cee90c0f6bbbb2a53ffe71655a7cee1e6c99be.
|
| | | |
|
| | |
| | |
| | |
| | | |
debug always be called since some people may overwrite warn! to add extra behavior even if logger is not available.
|
| | |
| | |
| | |
| | | |
Signed-off-by: José Valim <jose.valim@gmail.com>
|
| | |
| | |
| | |
| | |
| | |
| | | |
rails standards
Signed-off-by: José Valim <jose.valim@gmail.com>
|
| | |
| | |
| | |
| | | |
Signed-off-by: José Valim <jose.valim@gmail.com>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
was created this test has name not beginning with test_. Also this
test is trying to use has_many on another has_many which is not
supported.
Signed-off-by: José Valim <jose.valim@gmail.com>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* suppress outputting "Unknown command:" when no command were specified
* output the "Usage:" message when no plugin names were given
[#5043 state:committed]
Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
|
| | |
| | |
| | |
| | | |
Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
|
| | |
| | |
| | |
| | | |
Signed-off-by: Xavier Noria <fxn@hashref.com>
|
| | |
| | |
| | |
| | | |
Signed-off-by: wycats <wycats@gmail.com>
|
| |/
|/| |
|
|\ \ |
|
| |/ |
|
| |\ |
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | | |
than as a specific prefixing option (which :name_prefix used to be).
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| |/ |
|
| | |
|
| | |
|
| |
| |
| |
| | |
aboard text)
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
constraint that allow matching on multiple path segments.
Using a namespace block isn't compatible with dynamic routes so we
raise an ArgumentError if we detect a :module present in the scope.
[#5052 state:resolved]
Signed-off-by: José Valim <jose.valim@gmail.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
1. Don't inherit when specified as an option on a resource
2. Don't push into scope when specified as an option on a resource
2. Resources pull in :only or :except options from scope
3. Either :only or :except in nested scope overwrites parent scope
[#5048 state:resolved]
Signed-off-by: José Valim <jose.valim@gmail.com>
|
| |
| |
| |
| | |
particular the gotcha that deletion is direct
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| | |
The former should be symmetric with ancestors and include all children. However, it should not include self since ancestors + descendants should not have duplicated. The latter is symmetric to superclass in the sense it only includes direct children.
By adopting a convention, we expect to have less conflict with other frameworks, as Datamapper. For this moment, to ensure ActiveModel::Validations can be used with Datamapper, we should always call ActiveSupport::DescendantsTracker.descendants(self) internally instead of self.descendants avoiding conflicts.
|
| | |
|
| | |
|
| |
| |
| |
| | |
Signed-off-by: wycats <wycats@gmail.com>
|
| |
| |
| |
| |
| |
| | |
true
Signed-off-by: José Valim <jose.valim@gmail.com>
|
| |
| |
| |
| | |
Signed-off-by: José Valim <jose.valim@gmail.com>
|
| |
| |
| |
| |
| |
| | |
responsible for controlling how they are named. All other options passed to resources are pushed out to the scope.
Signed-off-by: José Valim <jose.valim@gmail.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Commit f7ba614c2db improved the internal consistency of the different
means of accessing routes, but it introduced some problems at the level
of code comments and user-visible strings.
This commit applies fixes on three levels:
Firstly, we remove or replace grammatically invalid constructs such as
"a routes" or "a particular routes".
Secondly, we make sure that we always use "the router DSL" or "the
router syntax", because this has always been the official terminology.
Finally, we make sure that we only use "routes" when referring to the
application-specific set of routes that are defined in the
"config/routes.rb" file, we use "router" when referring on a more
abstract level to "the code in Rails used to handle routing", and we use
"routing" when we need an adjective to apply to nouns such as
"url_helpers. Again this is consistent with historical practice and
other places in the documentation.
Note that this is not a sweep over the entire codebase to ensure
consistent usage of language; it is just a revision of the changes
introduced in commit f7ba614c2db.
Signed-off-by: Wincent Colaiuta <win@wincent.com>
Signed-off-by: José Valim <jose.valim@gmail.com>
|
|\ \ |
|
| | | |
|
| | |
| | |
| | |
| | | |
[#4979 state:committed]
|
| | |
| | |
| | |
| | | |
some requires
|
|/ /
| |
| |
| | |
Signed-off-by: José Valim <jose.valim@gmail.com>
|
| |
| |
| |
| | |
[#4979]
|