Manish Nautiyal
2012-Nov-19 12:40 UTC
how to open a pop-up page in rails 3 and load data from database
I am using ruby-on-rails + psql I have list of pages. On some page click I have to open page in pop-up. How I''ll load data in that pop-up for specific page. -- Posted via http://www.ruby-forum.com/. -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit https://groups.google.com/groups/opt_out.
Colin Law
2012-Nov-19 13:34 UTC
Re: how to open a pop-up page in rails 3 and load data from database
On 19 November 2012 12:40, Manish Nautiyal <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote:> I am using ruby-on-rails + psql > > I have list of pages. On some page click I have to open page in pop-up. > > How I''ll load data in that pop-up for specific page.Are you opening it using javascript, without contacting the server, or ajax? If javascript then you will have to provide all the data it needs to the view from which it pops, if ajax then provide the data in the normal way in the ajax action. 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit https://groups.google.com/groups/opt_out.
Reasonably Related Threads
- how to do render partial on jquery ajax success method with rails 3
- how to call rails method from javascript method.
- Database postgresql not able to start
- Staging content from modules for temporary use by resources
- Run 'rails console' no problem, but not 'rails dbconsole': Couldn't find database client: psql.