| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|/ /
| |
| |
| |
| |
| | |
Before the AppGenerator is started, ARGV needs to be modified to
correctly account for some things. I'm extracting these out into their
own class.
|
| | |
|
| |
| |
| |
| | |
favor of `ActiveRecord::Generators::ActiveModel#update`
|
|\ \
| | |
| | | |
Change Rails Migration generator module to use AS::Concern
|
| | |
| | |
| | |
| | | |
railties/lib/rails/generators/migration.rb file
|
|/ /
| |
| |
| |
| | |
There are historical reasons that the `plugin` command was `plugin_new`, now those are no longer applicable, we should remove the naming edge case from the project. This PR is based off of comments from #11176
ATP Railties
|
| | |
|
| | |
|
| | |
|
|\ \
| | |
| | |
| | |
| | | |
Conflicts:
guides/source/layout.html.erb
|
| | |
| | |
| | |
| | | |
Add a mention about the helper's test file generated invoking the
controller generator in the USAGE file
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | | |
In #11088, `#to_a` was added to remove a deprecation around using
`#all`. I merged, but it really should have been `#scoped` instead, as
that's the preferred replacement.
|
| | | |
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Is it more suitable that using ```<th colspan="3">``` instead of three empty ```<th>```? It is simple, but what i am missing about it?
Change repetitive th tags to use colspan attribute
Update CHANGELOG.md
Update CHANGELOG.md
|
| |
| |
| |
| | |
all directives
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Currently, ActiveModel is only loaded by ActiveRecord. If you skip ActiveRecord, ActiveModel will not be required (or even autoloaded) and including `ActiveModel::Model` into a plain Ruby class will raise `NameError`.
To reproduce this:
- create a new app with `rails new my_app -O`
- create a Ruby class that includes `ActiveModel::Model` in `app/models`
- load up a Rails console and try to do anything with the class :-)
Since ActionPack relies so heavily on the ActiveModel API, this should probably be considered a dependency of the app. Another possibility would be to make it a dependency of ActionController.
|
|\ \ |
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
When bundling a gem created with
rails plugin new
Bundler outputs the following warning when building the gem:
WARNING: licenses is empty
modified: railties/lib/rails/generators/rails/plugin_new/templates/%name%.gemspec
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | | |
If you generate a fresh app without ActiverRecord, this template
exhibited a lone trailing line break. My watchful pre-commit hook
told me about it so I've fixed it here.
|
| | |
| | |
| | |
| | | |
stub command description
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Prior to this change, for the following command:
$ rails new
we received "Options should be given after the application name" as an error message.
This is outdated and should be "Application name should be provided in arguments".
|
|\ \ \
| |/ /
|/| | |
Remove jruby-openssl from default Gemfile
|
| | | |
|
|\ \ \
| |/ /
|/| |
| | |
| | | |
Conflicts:
activesupport/lib/active_support/callbacks.rb
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | | |
- http://help.github.com/ignore-files redirects to https://help.github.com/articles/ignoring-files
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | | |
Scaffold generator with --assets=false option
outputs an error
See #9525
|
|\ \ \
| | | |
| | | | |
generate 'app/assets/images' directory when creating new rails app. Fixes #10434
|
| |/ / |
|
|\ \ \
| |/ /
|/| | |
Relaxed jbuilder dependency in Gemfile template
|
| | | |
|
|\ \ \ |
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
pabloh/extract_regexp_at_generators_testing_assertion"
This reverts commit 81f243375b9d3cfd431c1ca904c5c1efc9a41ae8, reversing
changes made to c7673b0981d961e5510c85d958c944876d543314.
|
| |\ \ \
| | | | |
| | | | |
| | | | |
| | | | | |
pabloh/extract_regexp_at_generators_testing_assertion
Extract method declaration regexp for assert_method into a constant
|
| | | | | |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
syntax. This helps removing the class level abstraction of an
application.
|
| | | | | |
|
| | | | | |
|
|\ \ \ \ \ |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Otherwise we get extra indent for the <td> elements due to the extra
spaces at the beginning of the lines, like this:
<tr>
<td><%= author.name %></td>
<td><%= link_to 'Show', author %></td>
<td><%= link_to 'Edit', edit_author_path(author) %></td>
|
|/ / / / / |
|