24 Pull Requests
rails

rails

The Ruby on Rails framework
Ruby
View on GitHub
enhancement
bug
good first issue
Contribulator score: 39 Last scored 2023-11-07 23:32:47 UTC
Contributors (101)
  • acrogenesis
  • aderyabin
  • al2o3cr
  • alexcameron89
  • amatsuda
  • arthurnn
  • AvnerCohen
  • AvnerCohen
  • balexand
  • banyan
  • BanzaiMan
  • bf4
  • bmaland
  • bogdan
  • bogdanvlviv
  • calebthompson
  • carlisia
  • carols10cents
  • chrisnicola
  • claudiob
  • codeodor
  • Crunch09
  • djpowers
  • dmathieu
  • Domon
  • dpickett
  • dustinbrownman
  • ebeigarts
  • eugeneius
  • fabiokr
  • fluxusfrequency
  • garysweaver
  • GBH
  • gregmolnar
  • greysteil
  • guilleiguaran
  • hirocaster
  • hpetru
  • hsbt
  • isaacseymour
  • ismaelga
  • jethroo
  • JuanitoFatas
  • just3ws
  • k0kubun
  • kastiglione
  • kbrock
  • kerrizor
  • KevinSjoberg
  • killthekitten
  • koic
  • kruppel
  • KyFaSt
  • kytrinyx
  • laurocaetano
  • le0pard
  • M7
  • ma2gedev
  • maciej-ka
  • maclover7
  • mattdbridges
  • matthewrobertson
  • mattreduce
  • mhenrixon
  • mhenrixon
  • mrgilman
  • mrpasquini
  • mtsmfm
  • NARKOZ
  • nashby
  • nateberkopec
  • nettofarah
  • ojab
  • ojiry
  • okuramasafumi
  • ptn
  • rebyn
  • reednj77
  • revans
  • rmcastil
  • robertomiranda
  • rShetty
  • rubiii
  • sbagdat
  • schneems
  • senny
  • seuros
  • sferik
  • sheerun
  • simi
  • sonnym
  • splattael
  • st0012
  • starbelly
  • steveklabnik
  • timoschilling
  • vipulnsward
  • yahonda
  • YasuOza
  • yhirano55
  • y-yagi

Pull requests (369)

y-yagi

Raise an error only when `require_master_key` is specified to rails/rails 2017-12-06 08:37:45 UTC

To prevent errors from being raise in environments where credentials is unnecessary.

Context: https://github.com/rails/rails/issues/31283#issuecomment-348801489

Fixes #31283

yhirano55

Add `assert_in_epsilon` to Testing guide [ci skip] to rails/rails 2017-12-06 00:21:29 UTC

Summary

I found assert_in_epsilon is not be in "2.4 Available Assertions".
So I Added them.

MiniTest::Assertions#assert_in_epsilon:

https://github.com/seattlerb/minitest/blob/master/lib/minitest/assertions.rb#L204-L2…

yahonda

Execute `JsonAttributeTest` only if `supports_json?` returns `false` to rails/rails 2017-12-05 20:07:56 UTC

Summary

Oracle enhanced adapter does not fully support JSON datatype then supports_json? returns false.
I wanted to skip known failures and errors when tested with Oracle enhanced adapter.

Steps to reproduce:

$...
yhirano55

Fix example code in ActiveJob::Core [ci skip] to rails/rails 2017-12-05 06:32:37 UTC

It seems that it raise error on example code in ActiveJob::Core.

Before:

class DeliverWebhookJob < ActiveJob::Base
  def serialize
    super.merge('attempt_number' => (@attempt_number || 0) + 1)
  end

  def deseria...
claudiob

Run Active Storage migrations in new apps to rails/rails 2017-12-02 20:26:19 UTC

In previous versions of Rails, running rails new app_name; cd app_name; rails server
was all it took to see something up and running in your browser at localhost:3000.

This had a great impact on newcomers, who would get excited abo…

claudiob

Fix typo in test error message to rails/rails 2017-12-02 20:03:27 UTC

With the current code, a failing test shows this error, which is missing
the number of times called and has two periods at the end.

/railties$ be ruby -Itest test/generators/app_generator_test.rb -n test_active_storage_install
...
y-yagi

Ignore `NoDatabaseError` when loading schema cache to rails/rails 2017-12-02 02:05:19 UTC

When loading schema cache, fetch current migration version.
However, if database does not exist, connection acquisition will cause an error. This is a problem when create database.
When databas is not yet, schema cache is unnecessary, …

y-yagi

fix indents of routes generated by controller generator to rails/rails 2016-12-24 10:12:57 UTC

# Before:

  Rails.application.routes.draw do
      get 'account/bar'
  end

# After:

  Rails.application.routes.draw do
    get 'account/bar'
  end
koic

Add a quote to an SQL insert statement of schema migration to rails/rails 2016-12-23 03:58:25 UTC

I think it would be better to use quote method for SQL statements, because an evaluation of quote varies depending on the RDBMS.

Example code:

"INSERT INTO #{ActiveRecord::Base.connection.quote_table_name('schema_migra...
y-yagi

quiet generators log in test to rails/rails 2016-12-22 02:04:15 UTC

This quiet the following log.

   create  app/mailers/notifier_mailer.rb
   invoke  erb
   create    app/views/notifier_mailer
identical    app/views/layouts/mailer.text.erb
identical    app/views/layouts/mailer.html.erb
   c...
maclover7

[WIP] Ruby 2.4 compatibility to rails/rails 2016-12-20 03:06:42 UTC

Summary

This PR adds Ruby 2.4 compatibility to Rails. Below are the current test suite statuses for each of the Rails components:

  • Cable: PASSING
  • Mailer: PASSING
  • Pack: waiting on release of third party gem
    …
y-yagi

Backport #26732 to 5-0-stable to rails/rails 2016-12-17 23:48:19 UTC

This PR backports PR #26732 to the 5-0-stable branch.

y-yagi

ensure `#compact` of HWIDA to return HWIDA to rails/rails 2016-12-17 10:27:57 UTC

Hash#compact of Ruby native returns new hash.
Therefore, in order to return HWIDA as in the past version, need to
define own #compact to HWIDA.

Related: #26868

y-yagi

make work bin/test scripts with line filter to rails/rails 2016-12-17 09:10:29 UTC

Rails::LineFiltering is not automatically loaded, need to load it explicitly.
Ref: 797f1dd, b6f935b

maclover7

`ARGV.shift` before calling Rails generators to rails/rails 2016-12-17 01:12:09 UTC

Summary

Gems like rspec-rails depend on ARGV being shifted, and scaffold
(for example) not being the first item in ARGV. This should allow
rspec-rails to be passing on Rails master.

cc @kaspth

ojiry

Backport `fd87169` to 5-0-stable to rails/rails 2016-12-16 05:58:04 UTC

Summary

This PR is backporting of https://github.com/rails/rails/commit/fd87169eb11fc4cfd9082dabe0a85f3bfa385c29.

amatsuda

Refining Array#sum monkey-patch using Refinements to rails/rails 2016-12-14 21:17:48 UTC

Here's an alternative implementation of Array#sum.

Current Array#sum unwantedly exposes our own internal orig_sum method to the outside world.
Ruby 2's probably most unused new feature "Refinements" is provided exactly for this…

mtsmfm

Remove unused method `namespaced_file_path` to rails/rails 2016-12-14 10:11:23 UTC

$ git grep namespaced_file_path
railties/lib/rails/generators/named_base.rb:        def namespaced_file_path
railties/lib/rails/generators/named_base.rb:          @namespaced_file_path ||= namespaced_class_path.join("/")
y-yagi

use appropriate type for `rc` option to rails/rails 2016-12-14 02:14:20 UTC

This fixes the following warning.

Expected boolean default value for '--rc'; got "~/.railsrc" (string)
y-yagi

fix new warning in ruby 2.4 to rails/rails 2016-12-14 00:05:10 UTC

This fixes the following warning.

test/caching_test.rb:986: warning: parentheses after method name is interpreted as
test/caching_test.rb:986: warning: an argument list, not a decomposed argument

test/cases/adapters/mysql2/re...
maclover7

Fix jbuilder <> ActionController::API testing issues to rails/rails 2016-12-11 22:11:02 UTC

Summary

  • Add fallback encoder support to ActionDispatch::IntegrationTest
    • Now gems like jbuilder can set fallback encoders (in that case, a
      :json fallback encoder for ActionController::API controllers).
  • Revert chang…
y-yagi

run `webpack` command only when webpack option is specified to rails/rails 2016-12-10 01:48:49 UTC

y-yagi

gemfile entry method need to return an empty array rather than nil to rails/rails 2016-12-10 00:07:08 UTC

This fixes the following error when executing rails new command.

(erb):9:in `block in template&#39;: undefined method `comment&#39; for nil:NilClass (NoMethodError)

Follow up to #27288

maclover7

Improve experience for declaring Rack routes to rails/rails 2016-12-09 23:28:03 UTC

Summary

This commit has two main benefits:

  1. When trying to use the match (or really any other) helper to mount
    a Rack application, it is possible that one could pass the wrong state
    of the Rack application to the route de…
guilleiguaran

Show message if Yarn is not installed to rails/rails 2016-12-09 13:43:56 UTC

cc @dhh

« First ‹ Prev 1 2 3 4 5 6 7 8 … Next › Last »
  • Sponsored by  DNSimple,  Octobox &  Bugsnag
  • About
  • How to contribute?
  • Contributor pledge
  • API
  • Unsubscribe
    •  English
    •  Español
    •  Ελληνικά
    •  Português do Brasil
    •  Suomi
    •  Français
    •  Deutsch
    •  Русский
    •  Українська
    •  ไทย
    •  Italiano
    •  Norsk bokmål
    •  தமிழ்
    •  Tr
    •  简体中文
    •  正體中文
    •  日本語
    •  Čeština
    •  हिंदी
    •  Polski
    • Translate into your language!