background preloader

RoR

Facebook Twitter

#396 Importing CSV and Excel. Dec 08, 2012 | 10 minutes | Plugins Allow users to import records into the database by uploading a CSV or Excel document.

#396 Importing CSV and Excel

Here I show how to use Roo to parse these files and present a solution for validations. #362 Exporting CSV and Excel. Jul 02, 2012 | 6 minutes | Views As you will see it is easy to add a CSV export option to Rails.

#362 Exporting CSV and Excel

Here I also show how to export for Excel in a variety of formats. #102 Auto-Complete Association (revised) #381 jQuery File Upload (pro) #253 CarrierWave File Uploads. CarrierWave makes it easy and clean to add file uploads to your application.

#253 CarrierWave File Uploads

It supports a variety of ORMs, frameworks and image processors. Download: source codeProject Files in Zip (480 KB)mp4Full Size H.264 Video (21 MB)m4vSmaller H.264 Video (11.7 MB)webmFull Size VP8 Video (24.9 MB)ogvFull Size Theora Video (25.4 MB) #228 Sortable Table Columns. Here I walk you through adding the ability to sort table columns in ascending or descending order by clicking the header.

#228 Sortable Table Columns

Download: source codeProject Files in Zip (107 KB)mp4Full Size H.264 Video (17 MB)m4vSmaller H.264 Video (11.5 MB)webmFull Size VP8 Video (30.4 MB)ogvFull Size Theora Video (25.2 MB) 24 Extremely Useful Ruby Gems for Web Development. One of the nicer things about developing on the Ruby platform is the sheer amount of meticulously categorized, highly reusable code wrapped up in the form of aptly named 'gems'.

24 Extremely Useful Ruby Gems for Web Development

I'm sure you've heard of popular frameworks like Sinatra or the super popular Rails that ship as gems but you're missing an entire spectrum of others that handle issues at a much lower level. Start using these and watch your productivity shoot through the roof! I'm well aware that some of the gems listed here have Rails, or parts of Rails, as a dependency. That doesn't mean that they are any less useful or need to be sneered at. Upload files in your Ruby applications, map them to a range of ORMs, store them on different backends. Related reading Kaminari is a Scope & Engine based, clean, powerful, customizable and sophisticated paginator. A simple, unobtrusive model based Ruby authentication solution. Shoulda is a gem that allows you to create more understandable tests for your Ruby application.

Github repo. Justinfrench/formtastic. #185 Formtastic Part 2. Learn about some of the more advanced functionality of Formtastic including handling many-to-many associations, required fields, and styling.

#185 Formtastic Part 2

Download: source codeProject Files in Zip (111 KB)mp4Full Size H.264 Video (15.3 MB)m4vSmaller H.264 Video (10 MB)webmFull Size VP8 Video (27.8 MB)ogvFull Size Theora Video (20.8 MB) Introduction to Rails Screencast. Isn't it funny how most "introduction to Ruby on Rails" screencasts are overly simplistic, and rely on generators like scaffolding?

Introduction to Rails Screencast

The teacher typically follows up the tutorial by stating that most Rails developer don't use scaffolding generators. Well that's not much help then! I'd like to give you the tutorial I wish I had. Along the way, we'll also rely heavily on test-driven development to build a simple app. Create models and generatorsUse test-driven development to plan and test an application’s featuresWork with ActiveRecordAutotest with Guard Use Rspec and Capybara to simulate the user.Create partialsTake advantage of Flash notices…and plenty more If you watched the entire screencast, I hope you enjoyed it!

#328 Twitter Bootstrap Basics.