Re: [Rails] Can't mass-assign protected attributes:

2012-06-08 Thread Santosh Kumar Mohanty
oup at > http://groups.google.com/group/rubyonrails-talk?hl=en. > > > > -- > 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 unsubs

Re: [Rails] Date and Time in Ruby

2012-01-20 Thread Santosh Kumar Mohanty
ok!!! cool dude I got it we can use like this str=10 am t=Time.parse(str) t.split(" ")[3] On Fri, Jan 20, 2012 at 3:28 PM, Michael Pavling wrote: > On 20 January 2012 09:52, Santosh Kumar Mohanty > wrote: > > Here is the executed code for time > > irb(main):

Re: [Rails] Date and Time in Ruby

2012-01-20 Thread Santosh Kumar Mohanty
", "14:47:46", "+0530", "2012"] irb(main):004:0> t.split(" ")[3] => "14:47:46" On Fri, Jan 20, 2012 at 2:54 PM, Michael Pavling wrote: > On 20 January 2012 09:20, Santosh Kumar Mohanty > wrote: > > > > I dont have mu

Re: [Rails] Date and Time in Ruby

2012-01-20 Thread Santosh Kumar Mohanty
Hey, I dont have much Idea but I tried this for my application Police Search. t=Time.now t.split(" ")[3] you will get the ruby time format On Fri, Jan 20, 2012 at 2:40 PM, Michael Pavling wrote: > On 20 January 2012 09:07, angel david wrote: > > I got a requir

Re: [Rails] how to play video in ruby on rails

2011-12-28 Thread Santosh Kumar Mohanty
Hey, According to my knowledge you can play the video url using a iframe or using Y_tube gem... On Wed, Dec 28, 2011 at 9:01 PM, Ralph Shnelvar wrote: > hr> hey everyone i want to add a video and play it using ruby on rails . > hr> how can i do it. can anyone help me plzz.. > > hr> Thanks in

[Rails] Santosh Kumar Mohanty has invited you to use Google Talk

2011-12-15 Thread Santosh Kumar Mohanty
Santosh Kumar Mohanty has invited you to sign up for Google Talk so you can talk to each other for free over your computers. To sign-up, go to: http://www.google.com/accounts/NewAccount?service=talk&sendvemail=

Re: [Rails] Re: Scrapping Content from a website

2011-12-15 Thread Santosh Kumar Mohanty
Thanks Dear for the information. On Fri, Dec 16, 2011 at 4:06 AM, Max wrote: > I don't have a lot of experience but did some scraping recently. I > used the nokogiri gem. found it to be pretty self explanatory and > much easier to implement than i had anticipated. google it and i'm > sure you