On 7/15/06, Kevin Clark <[EMAIL PROTECTED]> wrote:
sounds great
+1
On 7/15/06, Rick Olson <[EMAIL PROTECTED]> wrote:
> I don't know about you guys, but I really hate those warnings that
> assert_tag spews out. They have no controller/action associated with
> them, so you have to hunt down w
This is another edition of Rails Core Weekly, affectionately known as
RCW. A much nicer pre-web 3.0 version is available from the following
url:
http://www.pinupgeek.com/articles/category/rails-core-weekly-news
We have an Atom/RSS feed available there as well.
Rails Core Weekly summarizes the r
There doesn't appear to be a named route for the destroy method.
--
Kyle Maxwell
destroy.patch
Description: Binary data
___
Rails-core mailing list
Rails-core@lists.rubyonrails.org
http://lists.rubyonrails.org/mailman/listinfo/rails-core
Of course not, you simply do:
DELETE /articles/1
<%= link_to 'Delete', article_url(@article), :method => 'delete' %>
On 7/16/06, Kyle Maxwell <[EMAIL PROTECTED]> wrote:
There doesn't appear to be a named route for the destroy method.
--
Kyle Maxwell
_
Hi,
If I have controllers that inherit actions and helper methods then why
not views that "inherit" templates and partials? I've been trying to
DRY up my code and make it more REST friendly after the fallout of
DHH's "A World of Resources" slides and blog post.
With a move towards more RESTful c
What about a confirm delete url with simply_restful?... unfortunately
the show mapping already snaps up the :get method...
On 7/16/06, Rick Olson <[EMAIL PROTECTED]> wrote:
Of course not, you simply do:
DELETE /articles/1
<%= link_to 'Delete', article_url(@article), :method => 'delete' %>
On
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Attached is a patch with the following API change for
ActiveRecord::Base.create.
Currently ActiveRecord::Base.create takes either a hash of attributes or
an array of hashes of attributes. If you pass in an array it will treat
each hash individually an
* zdennis ([EMAIL PROTECTED]) [060716 20:33]:
> Could someone check this out and give some feedback? I have started to
> develop this as a separate plugin for ActiveRecord, but the more I think
> about it the more it seems that this sort of thing should be in core.
> Thoughts?
Those are impressive
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Rick Bradley wrote:
> * zdennis ([EMAIL PROTECTED]) [060716 20:33]:
>> Could someone check this out and give some feedback? I have started to
>> develop this as a separate plugin for ActiveRecord, but the more I think
>> about it the more it seems that
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Rick Bradley wrote:
> * zdennis ([EMAIL PROTECTED]) [060716 20:33]:
>
> Not commenting on the viability of the patch as a whole, but perhaps
> rather than :fast / :fastest it would be better to drop :fast (which as
> I understand it simply reduces th
Something like the following, then?
GET /articles/1;confirm
Which you configure by doing:
map.resource :article, :member => { :confirm => :get }
Then, you can get at that URL by invoking confirm_article_url.
Lastly, just make sure your #confirm method has the link to DELETE,
like Rick
Perfect! Thanks Rick and Jamis.
Zack
On 7/16/06, Jamis Buck <[EMAIL PROTECTED]> wrote:
Something like the following, then?
GET /articles/1;confirm
Which you configure by doing:
map.resource :article, :member => { :confirm => :get }
Then, you can get at that URL by invoking confirm_ar
12 matches
Mail list logo