Skip to content
This repository

Jul 08, 2014

  1. Aaron Patterson

    Merge pull request #13999 from jamox/update_rack

    This updates rails to use edge rack
    tenderlove authored

Jul 04, 2014

  1. Rafael Mendonça França

    Merge pull request #16046 from grosser/grosser/cleangen

    Do not load rails without loading bundler
    rafaelfranca authored
  2. Arun Agrawal

    Display notice in index.html pages in scaffolded generated views

    As we are setting notice in destroy action we should display that
    
    For more information see #14044
    And rails/jbuilder#191
    
    closes #14044
    arunagw authored
  3. Michael Grosser

    remove bundler magic

    grosser authored

Jul 01, 2014

  1. Leonard Garvey

    Add configuration to enable mail previews

    Adds `config.action_mailer.preview_enabled`
    
    This allows mail previewing to be enabled easily in non-development
    environments such as staging. The default is set to true for development
    so no changes should be required to existing Rails applications.
    
    The mail preview path can still be configured using the existing
    `config.action_mailer.preview_path` configuration option.
    
    Adding this avoids devs from having to do stuff like:
    https://gist.github.com/lengarvey/fa2c9bd6cdbeba96526a
    
    Update actionmailer/CHANGELOG with new configuration.
    Update configuring guide with new configuratation.
    Add `config.action_mailer.preview_path` to configuring guide.
    lengarvey authored

Jun 27, 2014

  1. Rafael Mendonça França

    Talk about config.assts.version move too

    Closes #15942
    rafaelfranca authored

Jun 26, 2014

  1. Rafael Mendonça França

    Require shellwords since it is dependecy of this file

    Closes #15919
    rafaelfranca authored

Jun 24, 2014

  1. Rafael Mendonça França

    Merge pull request #15885 from lucasmazza/lm-skip-routes

    Add a '--skip-routes' flag for the Controller generator.
    rafaelfranca authored
  2. Lucas Mazza

    Add a '--skip-routes' flag for the Controller generator.

    This way it is possible to skip the addition of the 'get "foo/bar"' routes when
    generating a controller.
    lucasmazza authored
  3. Yves Senn

    `:nodoc: all` does not remove the constants from the API. [ci skip]

    Need to add individual `:nodoc:` for nested classes / modules to completely
    remove the constants from the API.
    senny authored

Jun 18, 2014

  1. Amit Suryavanshi

    Titling the model name in views generated by scaffold.

    eg. rails g scaffold UserProfile will have in index.html.erb "Listing User Profiles"
    rather than Listing user_profiles.
  2. Rafael Mendonça França

    Deprecate Rails::Rack::LogTailer

    It was being used by Rails for show the development logs but since Rails
    4 it is not being used anymore on the framework.
    
    This class seems to be private but it were part of the public API we are
    deprecating before removing.
    rafaelfranca authored

Jun 17, 2014

  1. Rafael Mendonça França

    :scissors:

    rafaelfranca authored
  2. Rafael Mendonça França

    Add a generic --skip-gems options to generator

    Also remove --skip-turbolinks.
    
    This option is useful if users want to remove some gems like jbuilder,
    turbolinks, coffee-rails, etc that don't have specific options on the
    generator.
    
        rails new my_app --skip-gems turbolinks coffee-rails
    rafaelfranca authored

Jun 14, 2014

  1. Marc Schütz

    Add an option to skip installation of Turbolinks

    schuetzm authored

Jun 07, 2014

  1. Akshay Vishnoi

    [ci skip] Fix capitalization

Jun 06, 2014

  1. Gaurav Sharma

    remove rubyforge.org that was shut down [ci skip]

    Gaurav2728 authored

Jun 04, 2014

  1. Richard Schneeman

    Emit suggested generator names when not found

    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.
    schneems authored

Jun 02, 2014

  1. David Jones

    File.exist? instead of File.exists? in bin/setup

    File.exists? is deprecated in Ruby 2.1+
    
    https://github.com/ruby/ruby/blob/v2_1_2/file.c#L1413
    unixmonkey authored

Jun 01, 2014

  1. Vijay Dev

    Merge branch 'master' of github.com:rails/docrails

    vijaydev authored

May 30, 2014

  1. Yves Senn

    bin/setup uses `bundle check || bundle install` to improve performance.

    senny authored
  2. Yves Senn

    `bin/setup` script to bootstrap applications.

    senny authored

May 29, 2014

  1. Richard Schneeman

    document generators hidden_namespaces

    schneems authored

May 28, 2014

  1. Yves Senn

    Revert "Merge pull request #12778 from etehtsea/rake-default-fix"

    This reverts commit ec0a2b5, reversing
    changes made to a8bd7b1.
    
    This reverts commit 555ec36
    
    This reverts commit 555ec36
    
    By default, Rails uses the `default` Rake task to run all tests.
    This commit changed the environment of the default task to `development`.
    This clears the development database and has other negative consequences.
    senny authored

May 27, 2014

  1. Rafael Mendonça França

    Merge pull request #15269 from arunagw/aa-fixes-8930

    rake railties:install:migrations respects the order of railties
  2. Rafael Mendonça França

    Deprecate all *_filter callbacks in favor of *_action callbacks

    This is the continuation of the work started at
    9d62e04
  3. Arun Agrawal

    rake railties:install:migrations respects the order of railties

    This PR fixes #8930 and some stuff from #8985
    arunagw authored
  4. Yves Senn

    Merge pull request #15327 from alexbel/replace_double_quotes_with_sin…

    …gle_quotes
    
    Replace double quotes with single quotes while adding an entry into Gemfile
    senny authored

May 26, 2014

  1. Alexander Belaev

    Replace double quotes with single quotes while adding an entry into G…

    …emfile
    alexbel authored
  2. Rafael Mendonça França

    Merge pull request #15333 from ShunsukeAida/update_ruby_version

    update the recommended ruby version.
  3. Rafael Mendonça França

    Merge pull request #15294 from schneems/schneems/generator-output-in-…

    …error2
    
    print generators on failed generate
  4. update the recommended ruby version

  5. Richard Schneeman

    print generators on failed generate

    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.
    schneems authored

May 25, 2014

  1. Andriy Tyurnikov

    simple solution that brings rake stats task to every kind of rails pr…

    …oject

May 24, 2014

  1. Xavier Noria

    integration tests do not need to load fixtures by hand

    I don't know when this changed, checked back up to 3.2 and integration
    tests instantiate fixtures just fine.
    fxn authored
Something went wrong with that request. Please try again.