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)

mrpasquini

Add config option for MD5 class to support FIPS compliance to rails/rails 2024-12-23 21:55:18 UTC

<!–
Thanks for contributing to Rails!

Please do not make Draft pull requests, as they still send
notifications to everyone watching the Rails repo.

Create a pull request when it is ready for review and feedback
from the Rails…

okuramasafumi

Doc: Prevent `Attributes` to be a link [ci-skip] to rails/rails 2023-12-22 00:38:53 UTC

<!–
Thanks for contributing to Rails!

Please do not make Draft pull requests, as they still send
notifications to everyone watching the Rails repo.

Create a pull request when it is ready for review and feedback
from the Rails…

dustinbrownman

Prevent duplicate records when preloading `:has_many` association to rails/rails 2023-12-13 22:21:07 UTC

Motivation / Background

This Pull Request has been created to fix a bug introduced by https://github.com/rails/rails/pull/50129

We noticed a bug with how records were being preloaded on main. If a record had persisted records…

hsbt

Backport epub generator for Rails 7.0 to rails/rails 2022-12-21 02:40:39 UTC

Motivation / Background

https://guides.rubyonrails.org/ still provides mobi format for Kindle platform. But mobi format is already EOL in Dec, 2022.

Detail

We should backport https://github.com/rails/rails/pull/45539 to …

NARKOZ

Remove obsolete option from new Rails 7.0 defaults to rails/rails 2021-12-07 12:27:22 UTC

Option silence_disabled_session_errors was removed in 4e3504f thus
setting it results in Invalid option key runtime error.

bogdanvlviv

Allow `truncate` for SQLite3 adapter and add `rails db:seed:replant` to rails/rails 2018-12-23 15:58:25 UTC

  • Add ActiveRecord::Base.connection.truncate for SQLite3 adapter.
    SQLite doesn't support TRUNCATE TABLE, but SQLite3 adapter can support
    ActiveRecord::Base.connection.truncate by using DELETE FROM.
    DELETE without…
bogdanvlviv

Use `flunk` instead of `yield` to ensure that the block is not called to rails/rails 2018-12-21 21:51:45 UTC

It should make the test more readable since flunk emphasizes better
than yield that the block shouldn't be called.

Also, it improves error message:

(snip)
should not call this block
(snip)
(snip)
[ArgumentEr...
y-yagi

Use BigDecimal provided methods to convert String to BigDecimal to rails/rails 2018-12-21 01:32:40 UTC

String#to_d does not raise an exception if an invalid value is specified.
So can remove exception handling.

$ bundle exec ruby -v -rbigdecimal -rbigdecimal/util -e &#39;p &quot;123,003&quot;.to_d&#39;
ruby 2.6.0dev (2018-12-21 trunk 66474) [x8...
y-yagi

Add test for travel_to with time zone to rails/rails 2018-12-21 00:21:15 UTC

This is a regression test for #34751.

bogdanvlviv

Fix a few deprecation warnings to rails/rails 2018-12-20 16:28:21 UTC

Since #34754 Rails 6.0 requires Ruby 2.5+

bogdanvlviv

Make test_helper.rb file more verbose about parallel testing configuration to rails/rails 2018-12-19 17:46:53 UTC

Despite parallelize method without arguments makes the same things
as parallelize(workers: :number_of_processors, with: :processes)
we can set extended form of it by default in test/test_helper.rb
for newly generated rails apps….

bogdanvlviv

Add option to set parallel test worker count to the physical core count of the machine to rails/rails 2018-12-17 23:31:45 UTC

Also, use the physical core count of the machine as
the default number of workers by generating the test_helper.rb file
with parallelize(workers: :number_of_processors

Closes #34734

bogdanvlviv

Extend documentation of `ActiveSupport::Notifications.subscribe` to rails/rails 2018-12-16 15:24:24 UTC

  1. Extend documentation of ActiveSupport::Notifications.subscribe
    Add mention that a block with only one argument passed to the method
    will yield an event object.

  2. Emphasize that SubscribeEventObjects is a test class by ad…

bogdanvlviv

#create_or_find_by/!: add more tests and fix docs to rails/rails 2018-12-07 22:06:38 UTC

This PR:

  • Adds more tests for #create_or_find_by/! methods
  • Fixes docs of create_or_find_by. This method uses find_by! internally instead of find_by
y-yagi

Make `deprecate` work for non-exists methods to rails/rails 2018-12-07 07:28:59 UTC

Before #33325, deprecate works for non-exist methods.
This is necessary, for example, if want to deprecate dynamically defined
methods like attributes methods.

Fixes #34646

bogdanvlviv

Fix elapsed time calculations to rails/rails 2018-12-04 22:12:37 UTC

Hello,

I've found a few places in Rails code base where I think it makes sense to calculate elapsed time more precisely by using Process.clock_gettime(Process::CLOCK_MONOTONIC):

  • ActiveSupport::Cache::MemoryStore#prune
  • `Act…
bogdanvlviv

Improve parallel testing guide [ci skip] to rails/rails 2018-12-02 20:59:04 UTC

  • Fix formatting
  • Tell that AR loads the schema to a database for each process
  • Clarify that parallelize_teardown is executed for each process
bogdanvlviv

Contributed to rails/rails 2018-12-01 13:45:00 UTC

Refactor some things to easily support platforms like windows
https://github.com/rails/rails/pull/34618#issuecomment-444330057

y-yagi

Use `delayed_job` master to rails/rails 2017-12-23 12:11:45 UTC

For pass Active Job integration tests with Ruby 2.5.
Ref: https://github.com/collectiveidea/delayed_job/pull/996

eugeneius

Allow use_authenticated_message_encryption to be set in new_framework_defaults_5_2.rb to rails/rails 2017-12-22 23:40:46 UTC

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

Enabling this option in new_framework_defaults_5_2.rb didn't work before, as railtie initializers run before application initializers.

Using respond_to? to decide whether t…

hsbt

Relax bundler version on Travis CI to rails/rails 2017-12-22 13:24:50 UTC

Bundler 1.16.1 fixed https://github.com/bundler/bundler/issues/6072.

I believe RubyGems 2.6 and Bundler 1.16.1 works fine with Rails master.

hsbt

Temporary disabled using rubygems 2.7. to rails/rails 2017-12-22 08:57:06 UTC

Summary

RubyGems 2.7 promote bundler-1.16 to default gems. It conflicts Travis environment and user installed bundler.

I'm investigating RubyGems updater and bundler both. (I also maintain them.)

Other Information

/cc…

yhirano55

Add cloud service's links to README of Active Storage [ci skip] to rails/rails 2017-12-21 21:45:13 UTC

Summary

  • I've added cloud service's links to README of Active Storage.
yhirano55

Pass options to rails_blob_url to rails/rails 2017-12-21 20:34:27 UTC

Summary

  • I found that options is not passed to inside method. So I've fixed it.
yhirano55

[ci skip] Remove needless from doc for ActiveStorage::Variant to rails/rails 2017-12-21 20:22:37 UTC

Summary

  • The url for ActiveStorage::Variant is resolved on routing. So I've removed url_for from a document of ActiveStorage::Variant.
1 2 3 4 5 … 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!