> Question to everyone: Would it make sense to only default the :href > attribute to the value of :url if the link_to_remote handles a GET > request but leave it at "#" for POST/PUT/DELETE since they're likely > to be wrong anyways?
Try a patch for this and see what people think. It sounds good enough if the implementation isn't too hairy. > If you guys agree to this (especially the core team), I'd start > thinking about that and maybe start implementing it next week. I'd > totally love if someone else cared to join me in the effort. I don't think we need to add anything quite that complicated to actionpack. We bundle prototype and support it with some helpers etc. Whatever faults prototype may have choosing something is better than making it a configuration option which needlessly confuses people who just want an ajax form. If there's anything which is currently difficult to replace with a simple plugin, then we can investigate it. But given the good job the jrails guys have done, I don't think we need anything here. > IMO that would be a quick win and I'd be happy to implement it as > well. I've heard rumours that sam stephenson was thinking around ways to make those helpers nice and unobtrusive by default. If we can have unobtrusive code that's just as simple (i.e. one helper call) as the obtrusive kind, then I say we just go down that path. But again, I'm not aware of any clear best practise in that space that we could latch on to. > - Clemens > > > -- Cheers Koz --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To post to this group, send email to rubyonrails-core@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/rubyonrails-core?hl=en -~----------~----~----~----~------~----~------~--~---