Wednesday, June 18th, 2008
By default, Rails comes packed with the Prototype javascript library and the effects library, Scriptaculous. While this is all well and good sometimes you want a change. I personally prefer jQuery to prototype. I don’t have any beef with prototype, infact I used it for about a year before even getting into rails, but I [...]
Posted in Ruby on Rails | Tags: jquery, jrails, rails |
20 Comments »
So you’ve installed FFMPEG. Now it’s time to move onto converting the video. For this we’re going to be using a couple of plugins.
Paperclip
We will be using the paperclip plugin to upload the videos onto our server. Details of how to install paperclip can be found in my previous article: Paperclip: Attaching Files in Rails. [...]
Posted in Ruby on Rails | Tags: acts_as_state_machine, FFMPEG, paperclip, rails, video conversion |
7 Comments »
This is the first of a three part series covering how to convert videos using the marvellous FFMPEG library. Video converison is a must have if you are planning on creating a social network site.
In this part I’ll be covering how to install FFMPEG on Ubuntu Hardy Heron (8.04).
Install FFMPEG Dependencing
First off, you need to [...]
Posted in Ruby on Rails | Tags: FFMPEG, rails, ubuntu, video conversion |
2 Comments »
Edit: Added paperclip validations to photo model. Fixed a bug with the js (thanks to Kevin). Commented the js file and added all methods used by SWFUPload.
SWFUpload
SWFUpload is a small JavaScript/Flash library to get the best of both worlds. It features the great upload capabilities of Flash and the accessibility and ease of HTML/CSS.
SWFUpload is [...]
Posted in Javascript, Ruby on Rails | Tags: Flash, Javascript, SWFUpload, Upload |
40 Comments »
I love Phusion Passenger. It takes away most of the pain from deploying. Instead of having to mess around with lengthy apache config files, you can just upload. POW!
Phusion Passenger — a.k.a. mod_rails — makes deployment of applications built on the revolutionary Ruby on Rails web framework a breeze. It follows the usual Ruby on [...]
Posted in Ruby on Rails | Tags: capistrano, mod_rails, passenger, rails |
5 Comments »
I’m not going to cover how to actually code an entire social network site in rails as all social network sites vary in their functionality (and it’ll take too long). I will cover plugins and other things you might find useful though.
Quick Start
If you don’t really want to do the coding but want to get [...]
Posted in Ruby on Rails | Tags: FFMPEG, Plugins, rails, Social Network, SWFUpload |
34 Comments »
Thursday, April 17th, 2008
Edit: Added paperclip validations
Paperclip is an awesome rails plugin by Jon Yurek at Thoughtbot. It is one of many plugins currently available that cater for file uploading and thumbnailing (see: Attachment_fu, file_column, etc). Now a quick quote from Jon:
For some reason, file attachment is annoying. I don’t know why, and I know a lot of [...]
Posted in Ruby on Rails | Tags: paperlip, rails, uploads |
37 Comments »