Hi all! It’s been a while since I have posted as I have been on holidays and have been rather lazy! This post is going to explain the arduous task of deploying your Ruby on Rails application in as much depth as possible to make your lives easier. It took me quite a few days to get this going, however now that I have done it once it is going to be a simple task to deploy other applications.
(more…)
From the Blog
The following post will cover the method of uploading documents in Ruby on Rails. When I was initially looking into doing this I could only find tutorials that covered the uploading of images. Eventually I found the attachment_fu plugin that allowed for uploading of multiple file types. Firstly, we will need to install the plugin (windows users read this first).
Although there are a number of good examples of how to send email through Ruby on Rails, I thought I would cover it so that any future topics on emailing have a reference point.
Our first step is to change some settings in the development environment. For the purpose of this tutorial we are going to use smtp settings for the setup.
# config/environments/development.rb
config.action_mailer.raise_delivery_errors = true
config.action_mailer.delivery_method = :smtp
config.action_mailer.smtp_settings = {
:address => 'smtp.yourdomain.com',
:port => 25,
:domain => 'www.yourdomain.com',
:authentication => :login,
:user_name => 'username',
:password => 'password'
}
Carsonified are the world leaders in creating and managing events for the web community. They have also created a number of web applications to help web designers and developers. The latest web app that was released is Think Vitamin Membership. The membership gives you access to an ever-growing array of tutorial videos on a range of topics including design, html5, css3 and jQuery. Depending on which level of membership you go with you can also get access to their amazing online conferences and also videos from their Future of Web Design and Future of Web Apps conferences.
This membership is fantastic and I recommend it to any designer or developer. Make sure you head over to the Think Vitamin Membership page and watch the example tutorials they have available.