RailsCasts Pro episodes are now free!
Learn more or hide this
GitHub User: ltfschoen
I created an app rails_csv_app using code from this RailsCast plus I added functionality for a user to upload a CSV file that persists to a PostgreSQL database and is displayed in the view. It was a code test for a potential job opportunity using the latest version of Rails 5.0.2 and Ruby 2.4.0. It was necessary to make these key changes to make it work:
params.permit(:id, :name, :price, :released_at, :search, :page, :sort, :utf8, :direction)
<% content_for :title, "Products" %>
<% title "Products" %>