I doubt you can do that, you would need to have a local copy of the rails app running against a local database I would have thought, but that is probably not good for security
On Friday, 29 July 2016 11:48:34 UTC+1, amitoj singh wrote: > > On Fri, Jul 29, 2016 at 2:28 PM, Mike <mike.s...@gmail.com <javascript:>> > wrote: > > Reading the original post it sounds like the application is on the > internet, > > but if the user is in a bad signal, or middle of the jungle area with no > > signal they still want the app to work. > > Yup, The application is specially design for them who can not assess > the internet or the internet is not available there. > > > There is no way that this will really happen as the dynamic pages will > still > > require a connection to the server, you cannot cache a dynamic page (you > can > > cache the result of a call for a limited time, but that is not dynamic), > > that is the point, it is dynamic, and so needs connectivity. you can > cache > > the static assets, but that is about all. > > The main thing in our application which we want to store in the cache > is a form. User can view and enter their information in the > form(without internet connectivity) and that information is stored > locally and when the application connects to the internet can > automatically sync the data which is present locally with the main > database on the server. > > > -- > "Never repeat yourself" > Amitoj singh > slideshare.com/amitoj95 > github.com/amitojsingh > amitojsworld.wordpress.com > -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscr...@googlegroups.com. To post to this group, send email to rubyonrails-talk@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/5a87afb8-932d-4105-bcc2-e1cb92f3221a%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.