[Rails] Re: How do you run custom script with rails ?

2012-12-24 Thread Paritosh P.
Frederick Cheung wrote in post #1090089: > . >> > >> Thanks scott . I will keep this thing in mind .may be i will use >> deplayedjob or something like that . My motive is to start some script , >> it will take hour to finish. In this meantime, a user can also start >> same process again with differ

[Rails] Re: How do you run custom script with rails ?

2012-12-23 Thread Paritosh P.
Scott Ribe wrote in post #1090011: > On Dec 23, 2012, at 2:24 AM, Paritosh P. wrote: > >> Currently, i thought of using >> `custom_script agr1 arg2` >> in my controller/model . Is it good ? Or you handle it in some other >> way ? > > Depends on awful lot on the

[Rails] How do you run custom script with rails ?

2012-12-23 Thread Paritosh P.
I am writing some app which involves execution of external bin/ script. How do i run it with RoR apps ? Currently, i thought of using `custom_script agr1 arg2` in my controller/model . Is it good ? Or you handle it in some other way ? -- Posted via http://www.ruby-forum.com/. -- You received t

[Rails] Re: Re: Re: Re: Please solve such problem

2012-11-16 Thread Paritosh P.
Colin Law wrote in post #1084776: > On 16 November 2012 16:29, Paritosh P. wrote: >>>>> I see they different controllers? Why? >>>> >>>> if you have some idea , tell me . >>> >>> What is wrong with the suggestion offered by Fred, wh

[Rails] Re: Re: Re: Please solve such problem

2012-11-16 Thread Paritosh P.
Colin Law wrote in post #1084753: > On 16 November 2012 15:25, Paritosh P. wrote: >>> Colin >> >> i didn't used model yet . As you see,above the site is partially static >> , so i just been focused on views/ . >> This is what my problem is and it is w

[Rails] Re: Re: Please solve such problem

2012-11-16 Thread Paritosh P.
Colin Law wrote in post #1084745: > On 16 November 2012 15:09, Paritosh P. wrote: >>> can you clarify using samples urls ? >> http://0.0.0.0:3000/fr/School_2/index >> http://0.0.0.0:3000/fr/School_2/about_us >> http://0.0.0.0:3000/fr/School_2/admission > >

[Rails] Re: Please solve such problem

2012-11-16 Thread Paritosh P.
Kad Kerforn wrote in post #1084737: > if generated content is different > > match '/en/:param1/abc', :to => 'foo#param1' > > and you will have different actions#xyz , #mnb , #xkj, #cbcin > your > foo controller > with same layout > > can you clarify using samples urls ? > > > > Le vendred

[Rails] Re: Please solve such problem

2012-11-16 Thread Paritosh P.
> It's hard to say when I don't knwo what you're doing in those > controllers Contents are different for all whose urls,but having same layout . -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.

[Rails] Please solve such problem

2012-11-16 Thread Paritosh P.
Hi, I unable to follow DRY principle. I struck in situation where actions are same but controller are different.Wait,let me explain you with example . http://www.example.com/en/xyz/abc http://www.example.com/en/mnb/abc http://www.example.com/en/xkj/abc http://www.example.com/en/cbc/abc As you see

[Rails] ROR with hostgator or godaddy ?

2012-07-17 Thread Paritosh P.
hi, anyone here who is using hostgator or godaddy hosting plan for deploying rails app . I am planning for same since hostgator service is fast ( provide indian server for indian user) and it's cheap . And i am getting full power to use server computer with ssh . This all thing is not provided by h