- 12 6月, 2014 2 次提交
-
-
由 Wojciech Wnętrzak 提交于
Additionally: * It changes `purge` task on `sqlite3` adapter to recreate database file, to be consistent with other adapters. * Adds `purge` step when loading from `schema.rb`
-
由 Fabian Rodriguez 提交于
-
- 05 6月, 2014 1 次提交
-
-
由 schneems 提交于
When someone types in a generator command it currently outputs all generators. Instead we can attempt to find a subtle mis-spelling by running all generator names through a levenshtein_distance algorithm provided by rubygems. So now a failure looks like this: ```ruby $ rails generate migratioooons Could not find generator 'migratioooons'. Maybe you meant 'migration' or 'integration_test' or 'generator' Run `rails generate --help` for more options. ``` If the suggestions are bad we leave the user with the hint to run `rails generate --help` to see all commands.
-
- 01 6月, 2014 1 次提交
-
-
由 Wojciech Wnętrzak 提交于
-
- 30 5月, 2014 1 次提交
-
-
由 Yves Senn 提交于
-
- 27 5月, 2014 2 次提交
-
-
由 Arun Agrawal 提交于
This PR fixes #8930 and some stuff from #8985
-
由 alexbel 提交于
-
- 26 5月, 2014 1 次提交
-
-
由 schneems 提交于
Let's say we just ran: ``` $ rails g migrate add_click_to_issue_assignment ``` We will get an error that looks like: ``` Could not find generator migrate. ``` This patch adds all existing migrations to the output to make it easier for a developer to find a valid migration. ``` Could not find generator "migrate". Please select a valid generator: Rails: assets controller generator helper integration_test mailer migration model resource scaffold scaffold_controller task ``` It would be nice to do some spelling detection and suggest alternatives, but for now this should help.
-
- 25 5月, 2014 1 次提交
-
-
由 Guo Xiang Tan 提交于
Minitest has already been required when calling Minitest.autorun.
-
- 18 5月, 2014 3 次提交
-
-
由 Dan Kang 提交于
-
由 Rafael Mendonça França 提交于
The fix introduced at 75ba7425 were missing this case. To fix the original issue mentioned at that commit the correct is to remove update_config_files from the command list since we should not run both config_files command when creating a new application. Tests were added to make sure everything is working fine.
-
由 Christian Wesselhoeft 提交于
-
- 13 5月, 2014 3 次提交
-
-
由 Rafael Mendonça França 提交于
-
由 Rafael Mendonça França 提交于
-
由 Rafael Mendonça França 提交于
-
- 11 5月, 2014 1 次提交
-
-
由 Josemar Luedke 提交于
Since the generated application’s Gemfile is using single quotation marks, it seems fair to use it on plugin’s Gemfile as well.
-
- 08 5月, 2014 2 次提交
-
-
由 Pier-Olivier Thibault 提交于
Database configuration was trying to load the first path that config.paths['config/database'] was returning even if the path didn't exist in the filesystem. Because Rails::Paths::Path has the possibility to return more than 1 path (as an array), database_configuration should filter down the paths to the existing one and then load the first one. This would make it possible to move the database.yml file and add the new path to paths['config/database'] and still load the configurations.
-
由 Paul B 提交于
-
- 07 5月, 2014 1 次提交
-
-
由 Vipul A M 提交于
-
- 02 5月, 2014 2 次提交
-
-
由 Arun Agrawal 提交于
-
由 Roman Shmatov 提交于
-
- 28 4月, 2014 1 次提交
-
-
由 Robin Dupret 提交于
Let's avoid useless output when testing stuff related to Bundler.
-
- 24 4月, 2014 1 次提交
-
-
由 Matthew Draper 提交于
You can't compile a file that references a non-compiled asset's path. .. unless you turn off asset runtime errors. Outside of a test case like this, `config.assets.precompile` would normally retain its default entry, which precompiles all images (and other non-JS/CSS files) that are in `app/assets`.
-
- 15 4月, 2014 2 次提交
-
-
由 Rafael Mendonça França 提交于
Like rake tasks and runner blocks these blocks should also being shared between applications since they are stored at the classes. Fixes #14748
-
由 Rafael Mendonça França 提交于
-
- 11 4月, 2014 1 次提交
-
-
由 Matthew Draper 提交于
sprockets-rails 2.1 needs the precompile list to be available in all environments.
-
- 10 4月, 2014 2 次提交
-
-
由 David Rodríguez de Dios 提交于
-
由 Rafael Mendonça França 提交于
-
- 09 4月, 2014 3 次提交
-
-
由 David Heinemeier Hansson 提交于
-
由 David Rodríguez de Dios 提交于
-
由 David Rodríguez de Dios 提交于
-
- 08 4月, 2014 1 次提交
-
-
由 Rafael Mendonça França 提交于
Fixes #14620
-
- 05 4月, 2014 1 次提交
-
-
由 Rafael Mendonça França 提交于
-
- 02 4月, 2014 1 次提交
-
-
由 Matthew Draper 提交于
Restore the 4.0 behaviour for 'sqlite3:///', but deprecate it. We'll change to the absolute-path interpretation in 4.2. The current "correct" spellings for in-memory, relative, and absolute URLs, respectively, are: sqlite3::memory: sqlite3:relative/path sqlite3:/full/path Substantially reverses/defers fbb79b51. Uncovered by @guilleiguaran while investigating #14495, though that sounds like a different issue.
-
- 27 3月, 2014 1 次提交
-
-
由 Rafael Mendonça França 提交于
-
- 25 3月, 2014 1 次提交
-
-
由 Kuldeep Aggarwal 提交于
ActiveRecord::Base.pluralize_table_names = false. Previously, generation a migration like this: rails g migration add_column_name_to_user name would not generating the correct table name. Fixes #13426.
-
- 24 3月, 2014 2 次提交
-
-
由 Rafael Mendonça França 提交于
If the sqlite file name change in future version we this regexp should catch
-
由 Dmitrii Golub 提交于
-
- 21 3月, 2014 1 次提交
-
- 20 3月, 2014 1 次提交
-
-
由 Carlos Antonio da Silva 提交于
Just pass in the expected database as argument rather than "caching" it in a hash and using the hash in the helper methods.
-