Re: [Rails] Re: Cmd line interface for ruby on rails app

2012-06-13 Thread Miguel Morales
Well, That's why you create APIs for your services. If you're developing a mobile client for example you need to developer a REST API. So, I recommend you look into building a JSON API and have your command line interact w/ it if that's the way you want to go. But, I don't see a point to having a

Re: [Rails] Re: Cmd line interface for ruby on rails app

2012-06-13 Thread Hassan Schroeder
On Wed, Jun 13, 2012 at 4:11 PM, cyber c. wrote: > I dont know how it works with out rails server. But what i have now is > a) browser based interface to DB to edit/view the records > b) Clients can access this remotely > > What i want is > a) cmd line interface (using a ruby script ?) , so that r

[Rails] Re: Cmd line interface for ruby on rails app

2012-06-13 Thread cyber c.
I dont know how it works with out rails server. But what i have now is a) browser based interface to DB to edit/view the records b) Clients can access this remotely What i want is a) cmd line interface (using a ruby script ?) , so that remote clients can use this app/script to interface with the

Re: [Rails] Re: Cmd line interface for ruby on rails app

2012-06-13 Thread Hassan Schroeder
On Wed, Jun 13, 2012 at 3:46 PM, cyber c. wrote: > I think that wont serve my purpose, as i'm building a tool which will > help clients to update/create entries in the DB. If you're "building a tool", what is the exact question? :-) -- Hassan Schroeder hassan.schroe..

Re: [Rails] Re: Cmd line interface for ruby on rails app

2012-06-13 Thread Scott Ribe
On Jun 13, 2012, at 3:46 PM, cyber c. wrote: > I think that wont serve my purpose, as i'm building a tool which will > help clients to update/create entries in the DB. You mean to say every > client has to use rails console and connect to the rails server? You can load ActiveRecord and use it f

[Rails] Re: Cmd line interface for ruby on rails app

2012-06-13 Thread cyber c.
Hi Miguel, I think that wont serve my purpose, as i'm building a tool which will help clients to update/create entries in the DB. You mean to say every client has to use rails console and connect to the rails server? -- Posted via http://www.ruby-forum.com/. -- You received this message beca