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)

codeodor

Fix route helper to work with string params to rails/rails 2014-12-23 22:00:16 UTC

This is a redo of #18173, with the change made against the master branch, as requested by @sgrif.

Before Rails 4.2.0, model_path("id" => 1) would work fine. As of Rails 4.2.0, it generates a couple of errors:

  1. ArgumentError: co…
bogdan

Remove unneeded special case to calculate size for has_many :through to rails/rails 2014-12-23 19:32:16 UTC

All cases are properly handled in CollectionAssociation for all subclasses of this association.

I was trying to investigate the issue fixed in https://github.com/rails/rails/commit/f045663dfc879b9516904255fb555f048c394b7b in 4.1 stabl…

codeodor

Fix route helper to work with string params to rails/rails 2014-12-23 19:23:55 UTC

Before Rails 4.2.0, model_path("id" => 1) would work fine. As of Rails 4.2.0, it generated a couple of errors:

  1. ArgumentError: comparison of Array with Array failed (due to attempting to sort a hash with mixed string/symbol keys)
    …
greysteil

Don't raise on out-of-range datetimes passed by a user to rails/rails 2014-12-23 17:10:43 UTC

Backport https://github.com/rails/rails/pull/18157 to 4-2-stable.

al2o3cr

Fix connection leak when a thread checks in additional connections. to rails/rails 2014-12-23 15:05:00 UTC

NOTE: this is a severe app-crashing regression from 4.1.8 to 4.2.0. The fix should be trivial to backport to 4-2-stable.

The code in ConnectionPool#release assumed that a single thread only
ever holds a single connection, and thus …

M7

Describe full behaviour of Active Record's attribute query methods to rails/rails 2014-12-23 03:41:46 UTC

Update the docs to more accurately describe how the Active Record attribute query methods behave (applicable code here).

greysteil

Don't raise on out-of-range datetimes passed by a user to rails/rails 2014-12-23 02:48:03 UTC

Currently out-of-range user-entered datetimes cause an argument error:

task = Task.new(start_at: "2014-07-01T24:59:59GMT")   #=> ArgumentError

In contrast, when really bad data is entered the error is caught and the…

claudiob

Better tests for AV::RecordIdentifier to rails/rails 2014-12-23 01:03:48 UTC

This commit intends to clarify the scope of ActionView::RecordIdentifier
methods dom_id and dom_class.

Most of the current documentation comes from da257eb8 (7 years ago) when
the decoupling of ActionView, ActiveRecord and Activ…

bogdan

Bugfix collection association #create method to rails/rails 2014-12-23 00:58:06 UTC

When same association is loaded in the model creation callback
The new object is inserted into association twice.

Car.has_many :bulbs
Bulb.belongs_to :car
Bulb.after_create do |record|
  record.car.bulbs.to_a # force loa...
robertomiranda

Add Support for creating and dropping views to rails/rails 2014-12-22 23:36:08 UTC

Add support for creating and dropping views. In a migration, a view can be created using a rails relation or literal sql

create_view :posts_commented_by_staff,  Post.joins(comment: user).where(users: {role: 'staff'}).uniq
cr...
arthurnn

Only add debugger/byebug if on MRI to rails/rails 2014-12-22 20:03:27 UTC

[fixes #18142]

review @sgrif @bl4ckn0de

rShetty

Link Broken to rails/rails 2014-12-22 17:13:57 UTC

Add a link to the Testing your mailers from the Rails Guide. Previous Link is Broken.

claudiob

Better docs and tests for AV::RecordIdentifier to rails/rails 2014-12-22 03:07:52 UTC

This commit intends to clarify the scope of ActionView::RecordIdentifier methods dom_id and dom_class.

Most of the current documentation comes from da257eb8 (7 years ago) when the decoupling of ActionView, ActiveRecord and ActiveM…

claudiob

Remove unused Sheep fixture from AV to rails/rails 2014-12-22 03:03:56 UTC

The Sheep fixture was added in eb23754e when moving template tests
from actionpack to actionview, but it's not actually used in ActionView tests.

The Sheep fixture is only used to test uncountable in ActiveModel tests,
and [is…

M7

Add note about boolean behaviour when using Active Record's attribute query methods to rails/rails 2014-12-22 00:55:41 UTC

Update the docs to mention a potential gotcha when checking for the presence of a boolean value with Active Record's attribute query method.

codeodor

Clarify ActiveRecord testing guidelines [ci skip] to rails/rails 2014-12-21 16:21:01 UTC

  1. Specify that you need to create the test databases, and that no special
    Rails command needs to be run to do that.
  2. Although the underscore style of rake test_mysql works, make the
    documentation of running the tests in RUN…
JuanitoFatas

[ci skip] Update link since 4.2.0 is released. to rails/rails 2014-12-21 12:39:58 UTC

Yea Rails 4.2 🎊 👏

vipulnsward

Validation test fixes to rails/rails 2014-12-21 07:59:30 UTC

  • Fixed unused variable
  • Changed test to verify complete message instead of verifying if message contains text.
claudiob

Replace guides.ror.org/v4.2.0 with guides.ror.org to rails/rails 2014-12-20 13:39:58 UTC

No need to point links to http://guides.rubyonrails.org/v4.2.0/… now
that the Ruby on Rails guides point to 4.2.0.

k0kubun

Allow `joins` to be unscoped to rails/rails 2014-12-20 09:59:24 UTC

Closes https://github.com/rails/rails/issues/13775

arthurnn

Add nodoc to some constants [skip ci] to rails/rails 2014-12-19 22:28:41 UTC

@chancancode @zzak

k0kubun

`eager_load` preserves readonly flag for associations to rails/rails 2014-12-19 16:08:14 UTC

Closes #15853

I changed join_dependency to pass test in 5706d290b0a2501a713fadfb76d9e45c24d26e6a.
@senny Please check this PR.

k0kubun

Add ActiveRecord::Timestamp.skip_timestamps to skip timestamps easily to rails/rails 2014-12-18 20:19:26 UTC

I've written following code many times.

Model.record_timestamps = false
@model.update(foo: bar)
Model.record_timestamps = true

It's very boring to write, so I added skip_timestamps. With the method, you can write:
…

senny

`db:schema:load` and `db:structure:load` do not purge the database to rails/rails 2014-12-18 09:18:35 UTC

Closes #17945

There are environments (like Heroku) where it's not possible to purge a database. This rendered db:schema:load and db:structure:load useless in such circumstances.

The original behavior (until Rails 4.0) was as …

claudiob

Add docs for AS::TestCase::test_order to rails/rails 2014-12-17 23:01:29 UTC

Document test_order and test_order= from ActiveSupport::TestCase.

[ci skip]


The reason why I'm opening this PR on rails/rails rather than pushing to [rails/docrails](https://github.com…

« First ‹ Prev … 4 5 6 7 8 9 10 11 12 … 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!