javascript - Is using partials the best way to dynamically change content in RoR? -
i have lot of ajax calls ask page insert partials user clicks, loading new content.
ie:
var url = '/images/thumbnails/'+ this.main_id; new ajax.updater(this.thumbnail_wrapper, url);
this loads content thumbnails_wrapper div. have many partial urls generated on site now. best way this? wonder if messy solution somehow.. thanks, new ror.
yes think better way, meters here how batter way mange partials, , app should rest. proper recommendation need know proper scenario.
Comments
Post a Comment