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)

claudiob

Don't include Active Storage migrations in new apps to rails/rails 2017-12-21 19:33:29 UTC

For the complete discussion see https://github.com/rails/rails/pull/31315
Closes #31315

This is an alternative implementation as suggested by @kaspth in
https://github.com/rails/rails/pull/31315#issuecomment-352527652

@kaspth –…

yahonda

Use `delayed_job` master branch to support Ruby 2.5 to rails/rails 2017-12-20 18:41:08 UTC

Summary

  • Use yaml_tag instead of deprecated yaml_as pull request
    has been merged to master, but not released yet.
    https://github.com/collectiveidea/delayed_job/pull/996

  • This fix should address GEM=aj:integration fail…

yahonda

Handle `FrozenError` if it is available to 5-1-stable to rails/rails 2017-12-20 12:48:38 UTC

This pull request backports #31520 to 5-1-stable where the actual failures reported like https://travis-ci.org/rails/rails/jobs/318867883

Summary

This pull request handles FrozenError introduced by Ruby 2.5.
Refer https://bu…

yahonda

Handle `FrozenError` if it is available to rails/rails 2017-12-20 02:04:26 UTC

This pull request handles FrozenError introduced by Ruby 2.5.
Refer https://bugs.ruby-lang.org/projects/ruby-trunk/repository/revisions/61131

Since FrozenError is a subclass of RuntimeError minitest used by master
branch can h…

eugeneius

Remove verbose_query_logs from new_framework_defaults_5_2.rb to rails/rails 2017-12-20 01:13:20 UTC

Followup to https://github.com/rails/rails/pull/26815; see https://github.com/rails/rails/pull/26815#discussion_r156957789.

The app:update rake task will regenerate development.rb so that it contains this option; that means we're …

yhirano55

Backport #31483 to 5-1-stable to rails/rails 2017-12-19 21:17:36 UTC

This is a bug fix. So I think we should backport to 5-1-stable.

yahonda

Handle `FrozenError` explicitly for Ruby 2.5 to 5-1-stable branch to rails/rails 2017-12-19 19:59:05 UTC

Summary

Ruby 2.5 handles FrozenError as subclass of RuntimeError
https://bugs.ruby-lang.org/projects/ruby-trunk/repository/revisions/61131

These tests raise RuntimeError in Ruby 2.4 or lower, FrozenError in Ruby 2.5.

…

yahonda

Add `FrozenError` explicitly to 5-1-stable to rails/rails 2017-12-19 17:10:50 UTC

Summary

Ruby 2.5 handles FrozenError as subclass of RuntimeError
https://bugs.ruby-lang.org/projects/ruby-trunk/repository/revisions/61131

AggregationsTest#test_immutable_value_objects used to raise RuntimeError in Ruby …

bogdan

Fix AM::Serializers::JSON#as_json method for timestamps to rails/rails 2017-12-19 13:22:40 UTC

According to doc the method should return
non-json compatible types as strings.

The original idea behind as_json is that:

object.as_json == JSON.parse(object.to_json)

This patch fixes the compatibility for type…

y-yagi

Implicitly skip bootsnap for `rails new --dev` to rails/rails 2017-12-18 23:56:18 UTC

Specifying the --dev option is when want to change the codebase, as it is not necessary to cache it.

Context: https://github.com/rails/rails/pull/31485#issuecomment-352452653

yahonda

BigDecimal#duplicable? returns false if Ruby is 2.5.0 or higher to rails/rails 2017-12-18 19:53:38 UTC

Summary

This pull request addresses #31465

  • BigDecimal#dup is deprecated in BigDecimal 1.3.3 which is bundled
    with Ruby 2.5.0 rc1

https://github.com/ruby/bigdecimal/commit/bd12a259aa5583b873a640edd337cbb906c6add5

It ma…

eugeneius

Don't include ellipsis in truncated digest output to rails/rails 2017-12-17 01:00:37 UTC

Followup to https://github.com/rails/rails/pull/31289.

Using truncate to limit the length of the digest has the unwanted side effect of adding an ellipsis when the input is longer than the limit.

Also:

  • Don't instantiate a new…
y-yagi

Backport #29127 to 5-1-stable to rails/rails 2017-12-17 00:59:03 UTC

This is a bug fix. So I think we should backport to 5-1-stable.

y-yagi

Add `skip_bootsnap` option to rails/rails 2017-12-16 11:12:47 UTC

bootsnap is a useful gem normally. However, bootsnap is unnecessary when generating a Rails application to be used only for testing.
So I want to control whether use this or not by option.

yhirano55

Fix Active Storage Overview guide [ci skip] to rails/rails 2017-12-16 05:08:17 UTC

yhirano55

Fix validation callbacks on multiple context to rails/rails 2017-12-16 02:02:16 UTC

Summary

I found a bug that validation callbacks don't fire on multiple context.
So I've fixed it.

Example:

class Dog
  include ActiveModel::Validations
  include ActiveModel::Validations::Callbacks

  attr_acce...
claudiob

[ci skip] Use :amazon, not :s3, so that guides reflect the current code to rails/rails 2017-12-15 23:50:38 UTC

The template that generates the config/storage.yml file has the Amazon S3 key specified as :amazon, not :s3.
…

claudiob

[ci skip] Use :amazon, not :s3, so that guides match the current code to rails/rails 2017-12-15 23:48:10 UTC

The template that generates the config/storage.yml file has the Amazon S3 key specified as :amazon, not :s3.
…

yhirano55

[ci skip] Inherit ActiveRecord::Base in example codes to rails/rails 2017-12-15 07:35:24 UTC

Summary

  • It seems AR models, but there are not inheriting AR::Base. So I've fixed them.
y-yagi

Fix guide generation error [ci skip] to rails/rails 2017-12-15 06:49:28 UTC

Currently, generation of guide is an error in 5_2_release_notes.html.

$ bunele exec rake guides:generate:html
Generating 5_2_release_notes.md as 5_2_release_notes.html
rails/guides/rails_guides/markdown.rb:44:in `dom_id': und...
yhirano55

[ci skip] Make keys be same as a sample file of `rails new` to rails/rails 2017-12-15 05:10:12 UTC

Summary

  • https://github.com/rails/rails/blob/master/railties/lib/rails/generators/rails/app/templates/config/storage.yml.tt#L9-L30
yhirano55

[ci skip] Update guide index for active storage to rails/rails 2017-12-15 04:21:55 UTC

Summary

  • Add active_storage_overview.html link to an index page of guide.

Screenshot

I've confirmed after rake guides:generate:html

![image](https://user-images.githubusercontent.com/15371677/34026651-d562afee-e1…

y-yagi

Generate tmpname on its own to rails/rails 2017-12-15 02:21:22 UTC

make_tmpname was removed by https://github.com/ruby/ruby/commit/25d56ea7b7b52dc81af30c92a9a0e2d2dab6ff27.
In this case, we want a file name, not a File. So cannot use Tempfile.

Fixes #31458

yahonda

Suppress `warning: BigDecimal.new is deprecated` to rails/rails 2017-12-15 00:26:06 UTC

Summary

Suppress warning: BigDecimal.new is deprecated in Action Pack, Active Job, Active Model, Active Support and guides

BigDecimal.new has been deprecated in BigDecimal 1.3.3
which will be a default for Ruby 2.5.

Re…

yahonda

Suppress `warning: BigDecimal.new is deprecated` in Active Job to rails/rails 2017-12-14 20:07:18 UTC

Summary

BigDecimal.new has been deprecated in BigDecimal 1.3.3
which will be a default for Ruby 2.5.

Refer ruby/bigdecimal@5337373

  • This commit suppresses this warning:
$ bundle exec ruby -w -Itest test/ca...
« First ‹ Prev 1 2 3 4 5 6 … 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!