Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | depend_on_asset is not required anymore on sprockets-rails 2.1.2 | Rafael Mendonça França | 2014-04-09 | 1 | -6/+6 |
| | |||||
* | Dont abbreviate that which needs no abbreviation | David Heinemeier Hansson | 2014-04-08 | 1 | -2/+2 |
| | |||||
* | Dont encourage aliases now that we have variants | David Heinemeier Hansson | 2014-04-08 | 1 | -1/+0 |
| | |||||
* | Use short-form for the scaffold render calls and drop the needless test | David Heinemeier Hansson | 2014-04-08 | 2 | -9/+2 |
| | |||||
* | Drop in @jeremy's new database.yml template text | Matthew Draper | 2014-04-09 | 11 | -43/+197 |
| | | | | | In passing, allow multi-word adapters to be referenced in a URL: underscored_name must become hyphened-name. | ||||
* | Rails.application should be set inside before_configuration hook | Rafael Mendonça França | 2014-04-07 | 3 | -1/+17 |
| | | | | Fixes #14620 | ||||
* | Remove useless begin..end | Carlos Antonio da Silva | 2014-04-07 | 1 | -2/+1 |
| | |||||
* | Declare the assets dependency | Rafael Mendonça França | 2014-04-04 | 1 | -7/+8 |
| | |||||
* | Use sass-rails 4.0.3 | Rafael Mendonça França | 2014-04-04 | 1 | -1/+1 |
| | |||||
* | Ensure we supply Kernel#y for 1.9 too | Matthew Draper | 2014-04-04 | 3 | -10/+29 |
| | | | | | | | | In 1.9, it doesn't live in its own file, so we'll have to define it ourselves. Check RUBY_VERSION, instead of rescuing the require, because we want this to break if `psych/y` moves in a future Ruby release. | ||||
* | Explicitly load Kernel#y when starting a console | Matthew Draper | 2014-04-04 | 1 | -0/+1 |
| | | | | | | | | Previously, we relied on the IRB-detection in Psych itself. But that doesn't work when we're running under spring: the application boots (and thus psych is required) before we switch to console mode and load IRB. Fixes #14587. | ||||
* | Revise 'sqlite3:' URL handling for smoother upgrades | Matthew Draper | 2014-04-03 | 3 | -6/+8 |
| | | | | | | | | | | | | | | | | 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 fbb79b517f3127ba620fedd01849f9628b78d6ce. Uncovered by @guilleiguaran while investigating #14495, though that sounds like a different issue. | ||||
* | Require yaml explicitly | Adrià Planas | 2014-03-29 | 1 | -0/+1 |
| | |||||
* | Add CHANGELOG entry for #12778 [ci skip] | Rafael Mendonça França | 2014-03-28 | 1 | -0/+4 |
| | |||||
* | Merge pull request #12778 from etehtsea/rake-default-fix | Rafael Mendonça França | 2014-03-28 | 1 | -1/+1 |
|\ | | | | | | | | | Don't load test env by default. Closes #13241 | ||||
| * | Don't load test env by default | Konstantin Shabanov | 2013-11-11 | 1 | -1/+1 |
| | | |||||
* | | Fix build with bundler 1.6 | Rafael Mendonça França | 2014-03-26 | 1 | -1/+1 |
| | | |||||
* | | Edge Rails applications doesn't need to use arel master | Rafael Mendonça França | 2014-03-26 | 1 | -2/+1 |
| | | |||||
* | | Fix Generation of proper migration when | Kuldeep Aggarwal | 2014-03-25 | 2 | -0/+54 |
| | | | | | | | | | | | | | | | | | | | | | | | | 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. | ||||
* | | Check if any sqlite files are not included in the gitignore | Rafael Mendonça França | 2014-03-24 | 1 | -2/+2 |
| | | | | | | | | | | If the sqlite file name change in future version we this regexp should catch | ||||
* | | Merge pull request #14447 from Houdini/gitignore | Rafael Mendonça França | 2014-03-24 | 5 | -2/+36 |
|\ \ | | | | | | | | | | Skip sqlite3 files in .gitignore if no sqlite3 in app | ||||
| * | | Remove sqlite3 lines from .gitignore if the application is not using sqlite3. | Dmitrii Golub | 2014-03-24 | 5 | -2/+36 |
| | | | |||||
* | | | Adding active_model in Rails::Info | Ankit Gupta | 2014-03-23 | 1 | -1/+1 |
|/ / | |||||
* | | test for structure:dump without schema information table. refs eafec46 | Yves Senn | 2014-03-20 | 1 | -0/+12 |
| | | | | | | | | This is a test case for the fix provided in eafec4694c5b37eff9d83b1188b8e331fa6027fa | ||||
* | | Remove some indirection in rake dbs test | Carlos Antonio da Silva | 2014-03-20 | 1 | -34/+20 |
| | | | | | | | | | | Just pass in the expected database as argument rather than "caching" it in a hash and using the hash in the helper methods. | ||||
* | | Check if the output is empty rather than asserting for equality | Carlos Antonio da Silva | 2014-03-20 | 1 | -5/+4 |
| | | | | | | | | Also fix indent of test block. | ||||
* | | Refactor assertion of line numbers matching 4 spaces | Carlos Antonio da Silva | 2014-03-19 | 1 | -16/+4 |
| | | |||||
* | | Move booting/loading tasks setup to the rake notes helper method | Carlos Antonio da Silva | 2014-03-19 | 1 | -15/+3 |
| | | |||||
* | | Extract rake notes command and lines scan boilerplate | Carlos Antonio da Silva | 2014-03-19 | 1 | -19/+14 |
| | | | | | | | | Refactor to a reusable method. | ||||
* | | Remove extra space assertion | Carlos Antonio da Silva | 2014-03-19 | 1 | -3/+2 |
| | | | | | | | | | | No need to check that each line contains an extra space, just matching the space in the regexp is enough to ensure that. | ||||
* | | Extract common setup for loading tasks in rake notes tests | Carlos Antonio da Silva | 2014-03-19 | 1 | -29/+14 |
| | | |||||
* | | Merge pull request #14379 from robertomiranda/rake-notes.config | Guillermo Iguaran | 2014-03-17 | 5 | -29/+74 |
|\ \ | | | | | | | Add Public Api for Register New Extensions for Rake Notes | ||||
| * | | Rake notes should picked up new Extensions registered in the ↵ | robertomiranda | 2014-03-17 | 1 | -3/+19 |
| | | | | | | | | | | | | config/application.rb file | ||||
| * | | Add Changelog Entry ref #14379 | robertomiranda | 2014-03-17 | 1 | -0/+8 |
| | | | |||||
| * | | Add config.annotations, in order to register new extensions for Rake notes ↵ | robertomiranda | 2014-03-16 | 2 | -0/+14 |
| | | | | | | | | | | | | at config level | ||||
| * | | Fix Shadowing extensions variable in Register Annotation Exentsions | robertomiranda | 2014-03-16 | 2 | -7/+7 |
| | | | |||||
| * | | Supporting .ruby, .yml and .yaml Extension in Rake Notes | robertomiranda | 2014-03-14 | 2 | -2/+7 |
| | | | |||||
| * | | Remove .scss, .sass, .less, .haml, .slim, coffee from Rake Notes. Now we ↵ | robertomiranda | 2014-03-14 | 2 | -17/+5 |
| | | | | | | | | | | | | have an API for register it in the corresponding gems | ||||
| * | | Add Public Api for register new extensions for Rake Notes | robertomiranda | 2014-03-14 | 2 | -15/+29 |
| | | | |||||
* | | | Fix assertions | Carlos Antonio da Silva | 2014-03-16 | 1 | -2/+2 |
| | | | |||||
* | | | Let COMMAND_WHITELIST be an Array, not a String | Akira Matsuda | 2014-03-16 | 1 | -1/+1 |
| | | | |||||
* | | | better test error messages | schneems | 2014-03-14 | 1 | -4/+4 |
| | | | |||||
* | | | Force sass-rails ~> 4.0.2 to avoid sprockets compatibility error | Rafael Mendonça França | 2014-03-14 | 1 | -1/+1 |
|/ / | | | | | | | See https://github.com/rails/sass-rails/issues/191 for more information | ||||
* | | require actions rather than create_file | Aaron Patterson | 2014-03-13 | 1 | -1/+1 |
| | | | | | | | | | | | | | | thor's create_file seems to have a circular dependency on itself when used with our constant loading stuff. fixes #14319 | ||||
* | | Removed unnecessary command "application" | Arun Agrawal | 2014-03-10 | 2 | -6/+5 |
| | | |||||
* | | Merge pull request #14262 from sferik/flat_map | Andrew White | 2014-03-09 | 4 | -4/+4 |
|\ \ | | | | | | | Replace additional instances of map.flatten with flat_map | ||||
| * | | Replace map.flatten with flat_map in railties | Erik Michaels-Ober | 2014-03-04 | 4 | -4/+4 |
| | | | |||||
* | | | Make the rails:template rake task load initializers | Robin Dupret | 2014-03-08 | 3 | -1/+18 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Templates could rely on irregular inflections or external libraries for instance so we should load the application's initializers when running the rails:template task. The introducing commit of this feature is f7f11361 ; the initializers have never been loaded invoking this task. Fixes #12133. | ||||
* | | | Introduce `Rails.gem_version` | Prem Sichanugrist | 2014-03-05 | 5 | -11/+47 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This method return `Gem::Version.new(Rails.version)`, suggesting a more reliable way to perform version comparison. Example: Rails.version #=> "4.1.2" Rails.gem_version #=> #<Gem::Version "4.1.2"> Rails.version > "4.1.10" #=> false Rails.gem_version > Gem::Version.new("4.1.10") #=> true Gem::Requirement.new("~> 4.1.2") =~ Rails.gem_version #=> true This was originally introduced as `.version` by @charliesome in #8501 but got reverted in #10002 since it was not backward compatible. Also, updating template for `rake update_versions`. | ||||
* | | | Always return an array from formats so there is no need to wrap it when calling | Carlos Antonio da Silva | 2014-03-04 | 3 | -3/+3 |
| | | |