Can I render component from other rails app in current rails app?
example::
app A want to render component from app B.
ps.I’m weak in english. - -"
Can I render component from other rails app in current rails app?
example::
app A want to render component from app B.
ps.I’m weak in english. - -"
Try posting your question on refwell.com. You might get your answer
there
James
On Feb 6, 9:17 am, Phongphat K. <rails-mailing-l…@andreas-
You can try this helper; (put in application_helper.rb, use by view)
it make an ajax call from given url.
def render_remote(url, view = ‘remote’) Loading…
options = {}
options[:update] = view
options[:url] = url
options[:method] = :get
render :inline => %{
end
Regards,
herngwah
On Feb 6, 4:17 pm, Phongphat K. <rails-mailing-l…@andreas-
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs