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)

yahonda

Suppress `warning: BigDecimal.new is deprecated` in Action View to rails/rails 2017-12-14 19:59:55 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 these warnings:
$ cd actionview
$ bundle exec ruby ...
yahonda

Suppress expected exceptions by `report_on_exception` = `false` in mysql2 test to rails/rails 2017-12-14 19:36:47 UTC

Summary

Follow up #31428 to address similar exceptions with mysql2 adapter
This pull request suppresses this expected trace.

$ ruby -v
ruby 2.5.0dev (2017-12-15 trunk 61262) [x86_64-linux]
$ cd rails/activerecord
$...
yahonda

Suppress `warning: BigDecimal.new is deprecated` in Active Model to rails/rails 2017-12-14 19:01:40 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 has been made as follows:
$ cd activemodel/
$ git grep -l BigD...
yahonda

Address `warning: instance variable @hash_digest_class not initialized` to rails/rails 2017-12-14 18:56:11 UTC

Summary

This pull request addresses this warning:

$ cd activesupport
$ bundle exec rake test
... snip ...
/path/to/rails/activesupport/lib/active_support/digest.rb:7:
warning: instance variable @hash_digest_class not...
yahonda

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

Summary

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

Refer
https://github.com/ruby/bigdecimal/commit/533737338db915b00dc7168c3602e4b462b23503

  • This commit has been made a…
ebeigarts

Use weak references in descendants tracker to rails/rails 2017-12-14 10:53:41 UTC

This PR will make descendants tracker use weak references and weak map, so that unused subclasses (unused anonymous subclasses) can be garbage collected, for more details you can see #31395. /cc @matthewd

Ideally we would need `WeekKe…

y-yagi

Use released `resque-scheduler` instead of master version to rails/rails 2017-12-13 22:51:54 UTC

The v4.3.1 has already released that includes Redis 4.0 support.
https://github.com/resque/resque-scheduler/blob/master/CHANGELOG.md#431---2017-11-20

yahonda

Suppress `warning: BigDecimal.new is deprecated` in activerecord to rails/rails 2017-12-13 21:30:57 UTC

Summary

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

Refer https://github.com/ruby/bigdecimal/commit/533737338db915b00dc7168c3602e4b462b23503

$ cd rails/activerecord/
...
yhirano55

[ci skip] Add a space to comment in SidekiqAdapter to rails/rails 2017-12-13 19:55:41 UTC

Summary

  • I think it's better to have a leading space after the # denoting the start of the comment.
yahonda

Suppress expected exceptions by `report_on_exception` = `false` to rails/rails 2017-12-13 16:31:42 UTC

Summary

This pull request suppress expected exceptions by report_on_exception = false in Ruby 2.5.

  • Ruby 2.4 introduces report_on_exception to control if it reports exceptions in thread,
    this default value has been `false…
yahonda

Revert "only install ffmpeg and mupdf on activestorage builds" to rails/rails 2017-12-12 15:35:43 UTC

Summary

This pull request reverts 6ec0ed67d9afcc666ad0424b10e9903f63e60714 changed based on the discussion https://github.com/rails/rails/issues/31369#issuecomment-351082441

Other Information

At first, I attempt to revert …

yhirano55

Use url helper methods instead of `route_for` in ActiveStorage to rails/rails 2017-12-12 15:34:02 UTC

Summary

  • Use url helper methods instead of route_for (private api).
eugeneius

Prevent race condition when resetting time stubs to rails/rails 2017-12-12 06:41:52 UTC

If the current thread is preempted after the stub has been removed but before the original method has been restored, then the other thread will get a NoMethodError when it tries to call the method.

Using `silence_redefinition_of_met…

yhirano55

[ci skip] Update routing guide for Direct to rails/rails 2017-12-11 18:51:26 UTC

Summary

  • Added the direct method to routing guide.
yhirano55

[ci skip] Update instrumentation guide for ActiveStorage to rails/rails 2017-12-11 18:24:05 UTC

Summary

  • Added service_delete_prefixed.active_storage which is using in [ActiveStorage::Service#delete_prefixed](https://github.com/rails/rails/blob/master/activestorage/lib/active_storage/service/azure_storage_service.rb#L55…
yhirano55

Return `nil` instead of `false` if raise `Azure::Core::Http::HTTPError` to rails/rails 2017-12-11 18:06:12 UTC

Summary

  • If it raise error Azure::Core::Http::HTTPError, return nil instead of false in
    ActiveStorage::Service::AzureStorageService#delete.

  • Other services behave as same as this.

    • [ActiveStorage::Service::…
yahonda

Set `MYSQL=mariadb` explicitly to run CI with MariaDB at 5-0-stable to rails/rails 2017-12-11 17:06:27 UTC

Summary

This pull request aims to address 5-0-stable CI failure.
https://travis-ci.org/rails/rails/jobs/314848740

Error:
ActiveRecord::Migration::ColumnsTest#test_remove_column_with_multi_column_index:
ActiveRecor...
y-yagi

Make `sanitize_sql_` methods public to rails/rails 2017-12-11 03:38:57 UTC

Currently, sanitize methods are private. So need send to use from outside class.
However, sometimes want to use sanitize methods from outside Class when want to generate SQL including multiple tables like search.
In order to avoid us…

yhirano55

`webpack` is assigned but never used in webpack.config.js to rails/rails 2017-12-10 15:09:27 UTC

Summary

  • Removed webpack const, so it is assigned but never used in webpack.config.js.
  • After it removed, it can run yarn build and generate a file app/assets/javascripts/activestorage.js.
y-yagi

Reset cache before test to rails/rails 2017-12-10 03:05:41 UTC

Currently, test_copy_table_with_composite_primary_keys test fails depending on execution order. The reproduction step is as follows.

$ ARCONN=sqlite3_mem bin/test -w -n "/^(?:CalculationsTest#(?:test_#skip_query_cache\\!_for_a_...
guilleiguaran

Change the system tests to set Puma as default server only when the user haven't specified manually another server. to rails/rails 2017-12-09 21:54:15 UTC

In our app we are configuring a custom server for Capybara in this way:

Capybara.register_server(:unicorn) do |app, port, host|
  Unicorn::HttpServer.new(app, listeners: "#{host}:#{port}", logger: Logger.new(nil)).start.join...
st0012

Add global configuration for exception raising when skipped callback not defined to rails/rails 2017-12-09 16:59:14 UTC

Summary

After Rails 5 if we use skip_XXX_callback :foo before foo is being
setted as a callback, we'll get an argument error. The only way to avoid
this is to pass raise: false to the skip_XXX_callback call, which
can be …

aderyabin

Add options to ActiveRecord::Relation#explain to rails/rails 2017-12-08 14:30:38 UTC

Support database specific options for ANALYZE requests.

Summary

EXPLAIN displays the execution plan for the supplied statement and supports very useful options according to [documentation](https://www.postgresql.org/docs/9.4/st…

yhirano55

[ci skip] Make `Todo` classes inherit `ApplicationRecord` to rails/rails 2017-12-07 05:57:19 UTC

Summary

Example codes that use has_many or before_create in Module::Concerning look like active record models 😕

So I've made them inherit ApplicationRecord.

maciej-ka

docs: add example for a nil name in link_to to rails/rails 2017-12-07 00:48:51 UTC

Summary

Add example of nil name in link_to docs.

« First ‹ Prev 1 2 3 4 5 6 7 … 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!