| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|/ / / / / |
|
|\ \ \ \ \
| | | | | |
| | | | | | |
make disable_with default in submit_tag
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Prevents double submission by making disable_with the default.
Default disable_with option will only be applied if user has not
specified her/his own disable_with option, whether that is in the
`data-disable-with` string form or the
`:data => { :disable_with => "Saving..." }` hash form. disable_with
will default to the value attribute.
A configuration option was added to opt out of this functionality if
the user so desires.
`config.action_view.automatically_disable_submit_tag = false`
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
Plugins are generated with the version 0.1.0
|
| | | | | | | |
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
The semantic versioning specification uses MAJOR.MINOR.PATCH – it would
make more sense to set the version to 0.1.0 for initial development
since a patch release cannot be created before a minor feature release.
|
|/ / / / / /
| | | | | |
| | | | | |
| | | | | | |
[Robin Dupret]
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
vincefrancesi/date-helper-use-hidden-documentation
Documentation for ActionView::Helpers::DateHelper :use_hidden option
|
| | |/ / / /
| |/| | | |
| | | | | |
| | | | | | |
skip]
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
[Kir Shatrov & Robin Dupret]
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
* Add missing `def` and remove useless `do` keywords.
* Move `:nodoc:` in front of the methods' definition so that methods
under these ones are correctly visible on the API.
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
I would like to change the signature of the Route constructor. Since
the mapping object has all the data required to construct a Route
object, move the allocation to a factory method.
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
We should build the routes using the user facing API which is `Mapper`.
This frees up the library internals to change as we see fit. IOW we
shouldn't be testing internals.
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
we can directly turn it in to a regular expression here, so we don't
need to test its value twice
|
|/ / / / /
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Oops, I broke the build :(
Fixes the method signature of `assign_parameters` which now takes 6
arguments instead of 4. We likely will end up chaning the method
signature further so good to know this test is here.
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
This is part of a larger refactoring on controller tests. We needed to
move these methods here so that we could get rid of the `|| key ==
:action || key == :controller` in `assign_parameters`. We know this is
ugly and intend to fix it but for now `generate_extras` needs to be used
in the two methods to access the path and the query_string_keys.
We're adding `:controller` and `:action` to the `query_string_keys`
because we always need a controller and action. If someone passed
`action` or `controller` in in there test they are unambigious - we
know they have to go into the query params.
|
|\ \ \ \ \
| | | | | |
| | | | | | |
use `average_scheduled_poll_interval` option instead of deprecated `poll_interval`
|
| | |/ / /
| |/| | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
`poll_interval`
this removes the following warning:
```
DEPRECATION: `config.poll_interval = 0.5` will be removed in Sidekiq 4. Please update to `config.average_scheduled_poll_interval = 0.5`.
```
|
|\ \ \ \ \
| | | | | |
| | | | | | |
Convert Releasing Rails guide to Markdown
|
| |/ / / / |
|
|\ \ \ \ \
| |/ / / /
|/| | | | |
Initialize symbols instead of mapping to_sym on the set of strings
|
|/ / / / |
|
| | | |
| | | |
| | | |
| | | |
| | | | |
The outer router object already keeps a hash of named routes, so we
should just use that.
|
|\ \ \ \
| | | | |
| | | | | |
Small fixes [ci skip]
|
| | | | | |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
refactor the tests with a backwards compatible method call so we can rm
add_route2 from the journey router
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
then we can let the mapping object derive stuff that the Route object
needs.
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
now that we aren't doing options manipulations, we can just pass the
mapping object down and read values from it.
|
|/ / / /
| | | |
| | | |
| | | |
| | | | |
since we've extracted the `to` initialization, there's no need for
`process_path`
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
if `to` was initialized, this method would return, so we can eliminate
the to ||= in the conditional. Finally, let's return a nil in the else
block so that it's explicit that this method can return nil
|
| | | |
| | | |
| | | |
| | | | |
Eventually we'll pull this up and delete `process_path`.
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
We don't need a method for something like this. I want to pull this up
the stack as well and move the module + :controller ArgumentError up the
stack as well
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | | |
now we don't need to add it to a hash and delete it from the hash later
just to pass it around
|
| | | |
| | | |
| | | |
| | | |
| | | | |
`add_route` needs the AST, so rather than shove it in a hash and delete
later, lets move parsing up the stack so we can pass down later
|
| | | |
| | | |
| | | |
| | | |
| | | | |
also change the feeler to subclass AD::Request so that it has all the
methods that Request has
|
| | | | |
|
| | | | |
|
| | | |
| | | |
| | | |
| | | | |
Eventually I want to eliminate the FakeSet test class
|
| | | |
| | | |
| | | |
| | | |
| | | | |
I'm going to reimplement this using route objects, so it will be easier
if we just change ast access to go through a method rather than hashes
|
| | | |
| | | |
| | | |
| | | | |
we don't need to keep adding it and deleting if from hashes.
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Eventually I want to pull up AST generation so that we don't have to add
it to the `conditions` hash.
|
|\ \ \ \
| | | | |
| | | | | |
Add method_source dependency to activesupport
|
| | | | | |
|
| | | | |
| | | | |
| | | | |
| | | | | |
We already have rake install command that does the same thing.
|
|\ \ \ \ \
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
ixkaito/version_is_needless_when_running_installrb
Remove `version` argument in install.rb
|
| | | | | | |
|
|\ \ \ \ \ \
| |/ / / / /
|/| | | | | |
Fix middleware deprecation message. Related to #21172.
|
|/ / / / / |
|