Ruby on Rails Wednesday, January 5, 2011

On 5 January 2011 20:51, Miros Malich <lists@ruby-forum.com> wrote:
> Hello everybody
>
> I'm learning rails, buidling my first app and got stucked with one
> problem.
>
> I have some client model with institution select list. (Client
> belongs_to institution). Since I'm comming from desktop app world, I
> would like to build function for user to add new institution and refresh
> combo during client edit with ajax. With asp.net i'd use update panel.
> Here... really don't know. Please help

If this is your first app I would suggest initially not using ajax
until you have got the rest of it working. Where you might want to
use ajax just update the whole page. However, if you really want to
jump in at the deep end, do you understand the basics of Ajax? If not
I suggest finding some tutorials and working through them, then work
out how to apply it to your particular problem.

I agree with Marnen, though, the paradigms used for the UI on desktop
apps are not necessarily the best ones to use for a web app.

Colin

--
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 rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

No comments:

Post a Comment