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)

kastiglione

Support PostgreSQL materialized views to rails/rails 2013-12-01 22:58:02 UTC

The change is pretty minimal, the query used in #table_exists? just needed to be expanded to include materialized views in the kinds of relations it searches.

In order to share the existing view tests, I made the previous test class…

vipulnsward

Use gender - neutral pronouns in security guide. to rails/rails 2013-12-01 20:54:47 UTC

Use gender- neutral pronouns in security guide.

related #49ff20d9b164693ed7fee880b69cc14b141678b3

sbagdat

Update render with a spacer_template [ci skip] to rails/rails 2013-12-01 02:31:21 UTC

senny

Charset should not be appended to image/* type to rails/rails 2012-12-30 21:55:20 UTC

WIP
the source issue is #8661.

I created a test case to illustrate the issue.

1) Failure:
    test_head_created_with_image_png_content_type(RenderTest) [test/controller/render_test.rb:1238]:
    Expected: "image/png"
     ...
senny

Unify routes output for console and web to rails/rails 2012-12-30 14:15:17 UTC

We have a class called RoutesInspector. It's purpose is to aggregate the routes so that they can be displayed in the console (rake routes). Recently a routes listing was added to the exception page. This listing used parts of `Routes…

senny

ignore other warnings in test assertion. Ruby 2.0 to rails/rails 2012-12-28 23:55:24 UTC

Using Ruby 2.0 we get a failing test in actionpack:

  1) Failure:
test_locals_option_to_assert_template_is_not_supported(RenderTest) [/Users/senny/Projects/rails/actionpack/test/controller/render_test.rb:1441]:
--- expec...
senny

also rename indexes when a table or column is renamed to rails/rails 2012-12-28 22:38:25 UTC

When a table or a column is renamed related indexes kept their name. This will lead to confusing names. This patch renames related indexes when a column or a table is renamed. Only indexes with names generated by rails will be renamed. I…

senny

WIP: work off FIXME in rename_column_test to rails/rails 2012-12-28 00:56:13 UTC

This PR is work in progress and should not be merged.

While fixing a bug related to rename_column (#8613) I noticed the FIXME comments and I wanted to work them off before I finish my bugfix.

While working on the FIXME I noticed th…

senny

rewrite order dependent test case to rails/rails 2012-12-27 16:31:52 UTC

source issue: #8185

As reported (https://github.com/rails/rails/pull/8185#issuecomment-11702226)
this test relied on the order a hash was serialized. Comparing the parsed
hash makes the test no longer order dependent.

senny

backport #8616, quote column names in generated fixture files to rails/rails 2012-12-26 15:40:26 UTC

This is a fix for #8612

Conflicts:

railties/CHANGELOG.md
railties/lib/rails/generators/test_unit/model/model_generator.rb
railties/lib/rails/generators/test_unit/model/templates/fixtures.yml
railties/test/generators/model_ge...
senny

quote column names in generated fixture files to rails/rails 2012-12-26 14:19:03 UTC

When fixture files are generated the column names can cause conflicts with reserved YAML keywords such as "yes" and "no". This patch quotes all columns in generated fixture files.

I also rewrote the fixture tests to match against the…

senny

WIP: deal with long index names to rails/rails 2012-12-26 13:33:47 UTC

This PR is work in progress and should NOT be merged.

The source was this issue #8264

the problem

When creating an index the length is verified against the database limit. This allows you to create an index with a name that …

senny

replace AS::BufferedLogger doc mentions with AS::Logger to rails/rails 2012-12-25 19:41:55 UTC

With 572c3d51 ActiveSupport::BufferedLogger was deprecated in favor of ActiveSupport::Logger. There were still a few mentions of BufferedLogger present in the guides.

I updated the guides to reflect the deprecation.

senny

deprecation warning when BufferedLogger is instantiated to rails/rails 2012-12-25 19:36:44 UTC

This commit belongs to a previously merged PR #8607

ActiveSupport::BufferedLogger is not only subclassed but also instantiated. This patch adds the deprecation warning when a new BufferedLogger is instantiated.

I think this sho…

senny

ActiveSupport::BufferedLogger can be subclassed to rails/rails 2012-12-25 14:56:27 UTC

Since ActiveSupport::BufferedLogger was deprecated, it's not possible to subclass it anymore. Creating a subclass fails with the following exception:

test_can_be_subclassed(BufferedLoggerTest):
TypeError: superclass must be a ...
NARKOZ

refactor highlight method: return fast if text or phrases are blank to rails/rails 2012-12-24 09:03:44 UTC

sferik

Add support for action arguments to rails/rails 2012-12-24 07:59:06 UTC

On this Festivus day—the fourth anniversary of the announcement of the merger of Merb into Rails—I'd like to reintroduce one of my favorite features from Merb tha…

Crunch09

More helpful error message if `thread_safe` is not available to rails/rails 2012-12-22 18:31:20 UTC

Hi everyone,
I tried to create a new Rails project with edge rails and it responded with a not very helpful Error Message. The reason for that was, that thread_safe was required but was not available.
So i added a more helpful mess…

balexand

Digestor explicit dependency should not contain trailing whitespace to rails/rails 2012-12-21 22:02:15 UTC

This is an extremely simple and low impact change in the regex used to find explicit template dependencies. This allows Digestor to be used with HAML. Please see https://github.com/rails/cache_digests/pull/21 for details.

garysweaver

Updated security guide to reference secret_key_base instead of secret_token to rails/rails 2012-12-21 20:47:59 UTC

Updated security guide to reference secret_key_base instead of secret_token, with a little information about the change from CookieStore to EncryptedCookieStore.

garysweaver

Update security guide to rails/rails 2012-12-21 20:01:57 UTC

Updated security guide with information about secret_token.rb and to suggest securing sensitive files.

balexand

Include ActiveModel::Validations::Callbacks in ActiveModel::Model to rails/rails 2012-12-21 19:46:30 UTC

ActiveModel::Model already includes ActiveModel::Validations and ActiveModel::Callbacks, but not ActiveModel::Validations::Callbacks. I think it would be handy to also include this module so methods like before_validation can b…

schneems

Ability to Retry code a given number of times to rails/rails 2012-12-19 18:06:55 UTC

Ruby gives us the ability to retry a piece of code, but the mechanisms to control or limit the number of times it is retried must be manually coded each time by a developer. This PR gives the ability to retry arbitrary code a maximum num…

senny

Backport #8522, Keep index names when using with sqlite3 to rails/rails 2012-12-19 11:28:52 UTC

This is a backport of #8522 to fix #3489

Conflicts:

activerecord/CHANGELOG.md
activerecord/lib/active_record/connection_adapters/sqlite3_adapter.rb
activerecord/test/cases/migration/rename_column_test.rb

The files looked qu…

garysweaver

fix #5523: postgresql adapter to disable user triggers in disable_referential_integrity to rails/rails 2012-12-18 15:51:58 UTC

Pull request to replace https://github.com/rails/rails/pull/8498

Fixes https://github.com/rails/rails/issues/5523

(Sorry for the duplicate. Had a rebasing migraine.)

« First ‹ Prev … 9 10 11 12 13 14 15 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!