Cool thanks for the direction.
I wasn't sure if this still fell under ROR or not. I figured since I
was usiing the Bitnami Rubystack that isntalls everything at once I
was maybe hoping someone else who uses that deployment package might
have a hint.
But I will look into the PHP, SQLite forums and see what I come up
with.
But... as far as my first question which would save me from trying the
previous method above would be to see if there is a way to reference a
sqlite db file via http or ip address in the database.yml file within
the Ruby Rails app folder.
On Aug 25, 11:19 am, Marnen Laibow-Koser <li...@ruby-forum.com> wrote:
> Xenio wrote:
> > This situation is that I have an iphone app in development that uses
> > the db. I just need to make the admin interface to edit the needed
> > data. I'm starting to think Ruby was the worst choice for somethign
> > non-standard like this.
>
> Maybe; maybe not. It's not clear from your description.
>
>
>
> > But I'm pretty far in and I finished everything except the part where
> > the iphone app dev can upload a php file to test his app script
> > against the db.
>
> > Thanks for your response Marnen.
> > sqlite is just a file so the connection info is the tricky part for
> > me.
> > The ROR app is running in a c:\users directory, while the php script
> > is in the main apache htdoc directory which is like c:\program files
> > \rubystack\apache2\blah blah blah
>
> > How would I write that file as far as the path to the sqlite db?
>
> I have no idea. Probably by supplying the path to the SQLite dbfile.
> This has nothing to do with Rails, and would be better directed to a
> SQLite or PHP forum.
>
> Best,
> --
> Marnen Laibow-Koserhttp://www.marnen.org
> mar...@marnen.org
> --
> Posted viahttp://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@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
No comments:
Post a Comment