Ruby on Rails Thursday, March 17, 2016

Currently, I have a rails application and a SQL Server database that it connects to for my production database.  While they're connected to the site (online) a user can lookup certain people and then fill out a report evaluation on them.  I would like to allow them to be able to still look up a person and write a report if they are offline.  From reading it seems like I'd need to store them information in HTML 5 local storage, and then when it gets the connection back it would upload the data from local storage back to the SQL Server database.  If I've read up on this correctly...  does that answer the question?

On Thursday, March 17, 2016 at 4:33:41 AM UTC-4, Colin Law wrote:
On 17 March 2016 at 03:41, David McDonald <dave...@gmail.com> wrote:
> I have a rails application.  It's quite a large site that allows the user to
> do many different things.  One of the things is writing reports on people.
> I'm wanting to give the user the ability to lookup people from the database
> and write a report on them if they're offline.  Then have that report get
> pushed up to the server database once the connection returns.  Is this
> possible? I've seen some off line gems, but how can I allow them to search
> for different people to look up and attach a report to? If I need to provide
> more information I can... thanks for reading and lending a hand!

You have said you want them to lookup people in the db when offline,
and later push them to server db when online.  Are there two
databases?  If so what is the relationship between them?

Colin

>
> --
> 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-ta...@googlegroups.com.
> To post to this group, send email to rubyonra...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/rubyonrails-talk/d505761c-9ffa-40e8-8b3d-e294802188c3%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

--
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+unsubscribe@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/bdfcc230-2458-4cc7-ac2f-aa228c895a4b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment