[Rails] Re: tabular view gem in script/console

2010-06-20 Thread Chamnap
Hi, Thanks for your help. Chamnap On Jun 17, 8:53 pm, Leonardo Mateo wrote: > On Thu, Jun 17, 2010 at 12:30 AM, Chamnap wrote: > > I remember there is a gem on github that is able to display tabular > > view like mysql console in script/console. Anyone knows, I seem to >

[Rails] tabular view gem in script/console

2010-06-16 Thread Chamnap
I remember there is a gem on github that is able to display tabular view like mysql console in script/console. Anyone knows, I seem to forget, couldn't find it? Thanks Chamnap -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" gr

[Rails] Why to_xml on ActiveResource does not work well?

2009-09-08 Thread Chamnap
I have several ActiveResource model in my project. There was so strange to me when I called to_xml on my ActiveResource. The options that I passed to to_xml like :only and :except doesn't work at all. On ActiveRecord, it works really well. Anyone knows? class Node < ActiveResource::Base self.s

[Rails] ActiveResource Validation Plugin?

2009-08-25 Thread Chamnap
Anyone could give some suggestions about ActiveResource? Right now, I want to do validations on it, but I don't want to do manually. Any plugins you would recommend me? Thanks --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

[Rails] Re: How to handle json data request?

2009-04-04 Thread Chamnap
Thanks I also have founded a method in ActiveSupport::JSON.decode, and it does work the same thing as you did show me. What do you think? Chamnap --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Ruby on Rails:

[Rails] Re: How to handle json data request?

2009-04-02 Thread Chamnap
n't work. The params variable still contains weird string like: {"{\"first_name\":\"chamnap \",\"last_name\":\"chhorn\"}"=>nil, "action"=>"create", "controller"=>"users"}. Therefore, I could not acce

[Rails] How to handle json data request?

2009-04-02 Thread Chamnap
I have searched in this group for a while, and it seems no one face the same problem like me yet. I am developing a rest web service(post method) that requires json data format from my javascript client application. I don't know how to handle since I could not get data that is being sent. In my co