Plugin for webcam integration in rails3 - ruby-on-rails-3

I am working in a project where I should integrate webcam to my web application and record the video and save it in local file system.Can any1 tell me which free api or plugin or gem I can use for this?
Thanks in Advance!!!

This might be late for the party, but I created a gem that will allow you to capture photos easily:
Headshot - Easy web cam integration for Ruby on Rails.
http://headshot.hypermediasoft.com/

This might be helpful for you
http://lassebunk.dk/2011/02/19/paperclip-jpegcam-webcam-rails3/

Related

Send email on error in RubyOnRails

I need to implement email notification on every exception occurred in RubyOnRails project. I can do it manually. But I think that there is already such thing implemented with Rails 3.2.2. It would save me a lot of work if there is ability to configure email receivers etc.
Does anyone knows which gem to install or API to use in order to achieve this functionality?
Thanks.
Airbrake is a commercial hosted app, but it's really awesome and affordable. If you just have one project to monitor, there's a free plan or you can upgrade to the $7 plan for more features. The amount of time you'll spend trying to build this functionality yourself is not worth it, and that time should be spent on developing your own product.
http://www.railslodge.com/plugins/95-exception-notification

Are there any full-featured tutorials or examples for faye on rails?

I have worked with faye on node before, but now want to add it to a rails app. I've found plenty of quick integration guides and have it up and running, but my current implementation is pretty hacky. I've been unable to find any longer tutorials or examples including a good convention for the server to subscribe to the faye channels, interact with the rails models, and publish responses. Does anyone know of good resources?
The below links can be useful for you,
http://railscasts.com/episodes/260-messaging-with-faye?view=asciicast
First one exhibits the simple instant message application in Rails with the help of faye.
I found the How to Use Faye as a Real-Time Push Server in Rails tutorial to be a good start:
We’re going build a simple chat service. Now, Ryan Bates covered this on Railscast #260, however, we’re going to take a slightly different approach in this tutorial. First, we’ll create a chat service where users enter a public room, and everyone can chat with each other publicly. The second functionality we’ll be adding is private messages. Additionally, we’ll integrate some security to our implementation using Ryan Bate’s private_pub gem.
In about one hour you get a hands-on experience and understanding of Faye, both as a server and as a client. By the end of it you have a very basic chat; and not only that, your chat is also secure via private_pub.
Faye has moved towards rack compatibility, so using a config.ru file and booting with the command rackup is advised (the listen method will not work on the latest version of faye).
Booting Faye with rails isn't encouraged, because FAYE isn't compatible with development middleware in rails, meaning you will always need to run in production mode.
A minimalistic barebones example project was written, which deploys cleanly to heroku as observed live at faye-rails-example.herokuapp.com.

Deploy a Ruby on Rails website

i would like to deploy my ruby on rails website. I am using rails 3.2 and ruby 1.9.3, so have the assets pipeline feature. What i would like to know is who offers the most complete hosting package ( or easiest as I am new to rails). I don't mind paying for a package or trying a free one, just as long as its idiot proof :).
Any advice helpful as I would like to get this uploaded for a client
Heroku is pretty much today's standard for deploying Rails app, if you are into paying for it.
I would personally recommend to deploy in your own server if possible. It's much more versatile and not difficult at all. You could also make the procedure more efficient by using a tool like capistrano, which i highly recommend.

Image uploading in Mobile-Safari

I'm building a JQuery Mobile application using Ruby on Rails and I need a way to upload photos from the mobile device to Amazon S3. I thought that the best way would be to use Paperclip gem, but the main problem is that in Safari (in case of IPhone) the file input is disabled.
Is there another solution?
Thank you very much!
MobileSafari doesn't allow for direct uploads (yet). It would be possible through an external app like Picup
I don't believe Apple will ever support a direct upload function in MobileSafari, since it's too complicated for them to give the end-user limited access to the filesystem to upload a file (whether it be from /var/mobile/) due to security reasons. Maybe an upload from another app like Dropbox or iDisk would do the trick, but that's just my guess.

Best desktop platform for CRUD on an online Rails web app?

There are so many choices, i need a win/mac application capable of sending info to a rails app, i already have the rails app working on a server, so i just need basic crud activity via xml.
So what should you work this with , Realbasic, Java, Flex?
Thanks in advance.
If you feel like staying in Ruby then you could check out Monkeybars. I haven't done anything serious in it myself but it seems nice, except that the lack of new information on their site is a little discouraging.