I saw your post on the core list and looked at your code. Here are
some suggestions to improve your code:

- You might want to adapt to the conventional directory structure of
rails plugins.
- Use the rails view helpers instead of manually concatenating
strings.
- Use form_for and friends to simplify your update process
- Add Unit tests

Concerning the API I would prefer

- specifying which attributes to use instead of which *not* to use.
This would also enable including virtual attributes.
- supplying a :url option and falling back to REST conventions (This
would come for free using form_for)

Hope these suggestions help you get on with your project.

Best,
Tim
On 13 Okt., 10:33, C K Kashyap <[email protected]> wrote:
> >Kashyap:
> > I tried your code; the ajax update doesn't seem to be working.
> > Though your idea is to have an in-line editable table, there are similar
> > plugins: take a look at http://activescaffold.com/
> > Perhaps most of your needed functionality can be found in that plugin. In
> > the worst case, you'll have a good starting point.
> > Best,
> > Xabriel J. Collazo-Mojica
> > CS PhD student
> > Florida International University
> >http://xabrielc.googlepages.com
>
> Thanks Zabriel ... I guess the action mentioned in Ajax.Updater is not
> defined .... if you look at the latest code, it expects that URL to be
> passed as well.
>
> ActiveScaffold looks like what I might need..I'll check it out.
>
> Regards,Kashyap
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to