31 May '14, 9pm

Storing your files with Rails

This is the second article in my series on file management, the third article will cover the challenges of handling uploads then we should be able to move on to some more advanced topics. The second problem you’ll face when building an application to handle files is where and how to store them. Thankfully there are lots of well-supported options, each with their own pros and cons. The local file system If your application only runs on a single server, the simplest option is to store them on the local disk of your web/application server. This leaves you with very few moving parts, and you know that both your rails application and your webserver can see the same files, at the same location. But even though this is a simple option there are a few things that you need to be careful of. A common mistake I see is to use a single directory to handle all of the users’ uploaded fil...

Full article: http://www.therailsway.com/2009/3/16/storing-your-files/

Tweets

File download done right with Rails

therailsway.com 31 May '14, 9pm

Getting your file downloads right is one of the most important parts of your File Management functionality. A poorly imple...

Building an Ember App with Rails

rubyflow.com 31 May '14, 3pm

Building an Ember App with Rails Posted by bcardarella on May 31, 2014 — 0 comments Part 4 Comments “ ” Post a Comment Com...

RailsCastsのKaminari回見ました…… #githubkaigi

railscasts.com 01 Jun '14, 6am

If you need pagination in Rails 3 try out Kaminari. It is a clean, flexible solution which uses scopes to flow nicely with...

angular-strap-rails (2.0.1): AngularStrap for r...

rubygems.org 31 May '14, 11am

angular-strap-rails 2.0.1 AngularStrap for rails. install gem install angular-strap-rails Download Documentation Badge Sub...

How to Share a Session Between Sinatra and Rails

robots.thoughtbot.com 30 May '14, 1pm

As Rails developers, we run into Sinatra apps all the time: gems such as Resque which expose a dashboard via Sinatra, lega...

Thank you #Rails truncate!

api.rubyonrails.org 12 Jun '14, 12am

Highlights one or more phrases everywhere in text by inserting it into a :highlighter string. The highlighter can be speci...

Amy Khor the way to go

I can see where Amy Khor was coming from when she told Foo Mee Har that foreigners first in employment was a bad policy. S...

ember_simple_auth-rails (0.5.1): ember-simple-a...

rubygems.org 02 Jun '14, 11am

ember_simple_auth-rails 0.5.1 ember-simple-auth for the rails asset pipeline install gem install ember_simple_auth-rails D...

SunEdison Yieldco Subsidiary TerraForm Files for Public Offering

SunEdison Yieldco Subsidiary TerraForm Files fo...

renewableenergyworld.com 30 May '14, 1pm

NEW YORK -- SunEdison Inc., the best-performing U.S. solar company this year, is planning an initial public offering for a...

SSL for Rails with Heroku and DNSimple

robots.thoughtbot.com 21 May '14, 5pm

SSL certificates can be intimidating but Heroku and DNSimple make the process easy. The following steps should take us les...

`rails g rspec:install`はapplication templateでもい...

guides.rubyonrails.org 28 May '14, 8am

to apply templates to an existing Rails application. The location of the template needs to be passed in to an environment ...

Thanks to @mhartl for his awesome Rails tutoria...

railstutorial.org 03 Jun '14, 9pm

The Ruby on Rails Tutorial book and screencast series teach you how to develop and deploy real, industrial-strength web ap...

foundation-rails (5.2.3.0): ZURB Foundation on ...

rubygems.org 29 May '14, 8pm

foundation-rails 5.2.3.0 ZURB Foundation on Sass/Compass install gem install foundation-rails Download Documentation Badge...

There's no better way to experience Norway's icy landscape than on the back of a dogsled

There's no better way to experience Norway's ic...

departures.com 01 Jun '14, 8pm

Cerulean glaciers, ice-choked rivers and the spectacular Lyngen Fjord surround Lyngen Lodge, an eight-room pine-timber hot...