On Wed, May 24, 2006 at 03:30:56AM +0200, Laszlo Gyula wrote:
> I was a little concerned with the rails de-facto update method (as used
> in rails's scaffolds), because it simply calls
> .update_attributes(params[:]. This is very DRY indeed, but
> when some of the table's fields contain valuable
hi,
I was a little concerned with the rails de-facto update method (as used
in rails's scaffolds), because it simply calls
.update_attributes(params[:]. This is very DRY indeed, but
when some of the table's fields contain valuable information that should
be writable only by certain actions, y
On 5/23/06, Hampton <[EMAIL PROTECTED]> wrote:
Is there anything I can do to help this patch get vetted quickly and
efficiently?
-hampton.
Make a plugin and get folks to use it. I'm not sold on this idea at
all, personally.
--
Rick Olson
http://techno-weenie.net
_
The API docs for habtm don't include mention of #build or #create as
methods on the association. However, both methods exist in the
HasAndBelongsToManyAssociation class. HABTM implements #build, while
#create is inherited from AssociationCollection. #build seems to
work fine, though ther
Is there anything I can do to help this patch get vetted quickly and efficiently?-hampton.On 5/21/06, Hampton <
[EMAIL PROTECTED]> wrote:Introducing Patch #5143!
http://dev.rubyonrails.org/ticket/5143This patch allows for a hash to be passed into the :condition parameter of the ActiveRecord::Base#f
On Tue, May 23, 2006 at 09:00:50AM -0700, Kevin Clark wrote:
> Could it be a plugin?
>
> On 5/23/06, Francois Beausoleil <[EMAIL PROTECTED]> wrote:
> >http://dev.rubyonrails.org/ticket/5167
> >
> >Small patch that adds a new generator for observers. I never remember
> >what to inherit from when I
Could it be a plugin?
On 5/23/06, Francois Beausoleil <[EMAIL PROTECTED]> wrote:
http://dev.rubyonrails.org/ticket/5167
Small patch that adds a new generator for observers. I never remember
what to inherit from when I want a new observer. That solves the
problem nicely and simply.
Didn't put
http://dev.rubyonrails.org/ticket/5167
Small patch that adds a new generator for observers. I never remember
what to inherit from when I want a new observer. That solves the
problem nicely and simply.
Didn't put a lot of options in this. A further patch could optionally
generate the proper af