--
You received this message because you are subscribed to the Google Groups
"rhomobile" group.
To post to this group, send email to rhom...@googlegroups.com.
To unsubscribe from this group, send email to
rhomobile+...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/rhomobile?hl=en.
On Dec 23, 2:12 am, "evgeny vovchenko" <evgenyvovche...@gmail.com>
wrote:
The problem here is that when you sync on client, server will send this data
again(because client_id is changed).
If you don't want to sync this source on the client and just use prepared
data: modify config.rb after step 2( set empty url )
Rho::RhoConfig::add_source("Customer", {"url"=>"", "priority"=>1})
This approach will work faster on client, since in case of big db inserts
take some time.
Let me know does it work for you.
Regards,
Evgeny.
I do want my records to stay in sync, but I need to have them
preloaded. How can I copy the sqlite and not have the chaged
client_id? Can I update the client_id in the db when the app boots?
On Dec 24, 1:48 am, "evgeny vovchenko" <evgenyvovche...@gmail.com>
> On Dec 23, 2:12šam, "evgeny vovchenko" <evgenyvovche...@gmail.com>
> wrote:
> > What rhodes version do you use?
>
> > -----Original Message-----
> > From: rhom...@googlegroups.com [mailto:rhom...@googlegroups.com]
> > On
>
> > Behalf Of smartocci
> > Sent: Wednesday, December 23, 2009 7:56 AM
> > To: rhomobile
> > Subject: [rhomobile] Loading data into app
>
> > Is it possible for me to load data into the sq lite db before
> > distributing my app? šI have a a few thousand records that have no