Ruby on Rails Wednesday, August 25, 2010

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-Koser
http://www.marnen.org
marnen@marnen.org
--
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@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