[Rails] Re: Model::import raises NameError

2014-10-01 Thread Frederick Cheung
The model is following: > > class All < ActiveRecord::Base has_one :name has_one :email has_one > :subject has_one :contents end > > > Do you have a model called Name (in name.rb)? Fred > Any help would be highly appreciated, > > Cheers, > Gregory > -- You received this message b

[Rails] Model::import raises NameError

2014-10-01 Thread gregory grey
Hi, guys Need a hand here: puts All.connectionputs All.all.inspectAll.import columns, values gives me the following error # # rake aborted! NameError: uninitialized constant All::Name /usr/local/rvm/ gems/ruby-2.1.2/gems/activerecord-4.1.6/lib/active_record/inheritance.rb:133 :in So, I can co

[Rails] Re: Active Nil ID

2014-10-01 Thread Jan Yo
That was it ! Thanks! -- 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 unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscr...@googlegroup

Re: [Rails] Active Nil ID

2014-10-01 Thread Jason Fleetwood-Boldt
Debug the code directly using debugger, binding or pry. try this (assuming thing is your variable) thing.save You should see a message "false" telling you that the object wasn't saved then type thing.errors and you should see what the validation errors are -Jason On Sep 30, 2014, at 9:16

[Rails] Re: New Project needs push notifications

2014-10-01 Thread cpr
We've used pusher.com in production for 2+ years with no issues. Pubnub is an option as well, but their packet size restrictions were/are(?) too small for us. Both have clean APIs, need no extra stuff (e.g. Redis), give nice stats, etc. Looking at ActionController::Live, the main diff seems to b

Re: [Rails] Re: Rails live video streaming..

2014-10-01 Thread Clayton Cottingham
Let me know if you need any help Ive beem playing w the html5 audio video stuffs and also have qtss and icecast2 servers setup On 30 September, 2014 10:32:53 PM PDT, Sai Ch wrote: >Finally man after long time one person reply for this question. > >Thanks @Clayton for your suggestion.I want to tr