Deploying Rails patches (diff)

I am having a problem with a belongs_to and a has_one :through relation
which I found is a known bug in Ruby on Rails:
http://rails.lighthouseapp.com/projects/8994/tickets/323-has_many-through-belongs_to_association-bug

This ticket has 6 different attachments. Do I need all of them, or just
the latest one?
I can’t seem to find anywhere how one is supposed to deploy these
patches. Preferably I would patch something in my project that overrides
the installed rails stack as opposed to patching the installed rails
stack. How do I do this?

On Sep 2, 2:04 am, Chris D. [email protected]
wrote:

I am having a problem with a belongs_to and a has_one :through relation
which I found is a known bug in Ruby on Rails:#323 has_many :through => belongs_to_association bug - Ruby on Rails - rails

This ticket has 6 different attachments. Do I need all of them, or just
the latest one?
I can’t seem to find anywhere how one is supposed to deploy these
patches. Preferably I would patch something in my project that overrides
the installed rails stack as opposed to patching the installed rails
stack. How do I do this?

Well exactly which patch you need to apply would depend on the ticket
itself. The author could have split his work into several pieces or
they might be successive versions of the same thing. Read the ticket
to find out.

You can apply the patch to a copy of rails using git-apply (you’d want
a copy of rails frozen into your app)

Fred