Ruby on Rails Explained for Front-End Developers
Ruby on Rails Explained for Front-End Developers
$5.00
Minimum price
$9.99
Suggested price
Ruby on Rails Explained for Front-End Developers

Last updated on 2014-01-20

About the Book

Ruby on Rails is an extremely powerful full-stack web application framework, but with its power comes complexity. For front-end developers who simply need to edit HTML, CSS, and JS within a Ruby on Rails application, it can be a daunting task. This book explains what front-end developers needs to know about Ruby on Rails in order to work their mastery within a rails app.

By the end of the book, you'll be able to:

* know where to put your html, css, & js within the structure of a ruby on rails app

* how rails routes requests to controllers

* using views, layouts, and partials in controllers

* what the asset pipeline is and how to use it

* how controllers and views in rails work together to render a response in the browser

* how data is added to views and how to link to the data in your html

Want to get this book for free? Sign up for my newsletter at milesmatthias.com.

  • Share this book

About the Author

Miles Matthias
Miles Matthias

Miles Matthias (@miles_matthias) is the CTO of @EquityEats. 

In between trips and sips, usually with planes and bourbon, Miles enjoys talking to people about difficult challenges and tapping on his keyboard to help solve them.

Miles moved to Boulder in January of 2012, after meeting his future wife and picking up degrees in Computer Science and Information Assurance in Omaha, Nebraska. Boulder was his ninth move after growing up in Virginia, Kansas, Illinois, and Indiana, and would be more than happy if Colorado became his permanant home.

With experience in network security monitoring, vulnerability assessments, red hat teaming, bash scripting, and web and iOS development, Miles enjoys building simple and beautiful applications, contributing to the open source community, and writing about his life experiences.

Table of Contents

  • Introduction
  • A Brief Introduction to Ruby on Rails
  • Ruby on Rails Directory Structure
  • Routes
    • Routes config
    • Resources
  • Using Controllers, Views, and Layouts
    • A basic controller view setup
    • Layouts
    • yield and content_for in layouts
  • Partials and Helpers in Views
    • Partials
    • Asset Helpers
  • The Asset Pipeline
    • Path helping
    • Automatic Pre-processing
    • Cache Busting
    • Pre-compiling Assets - a warning
  • Data in Views
  • Acknowledgements

Authors have earned$8,070,490writing, publishing and selling on Leanpub,
earning 80% royalties while saving up to 25 million pounds of CO2 and up to 46,000 trees.

Learn more about writing on Leanpub

The Leanpub 45-day 100% Happiness Guarantee

Within 45 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.

See full terms

Free Updates. Free App. DRM Free.

If you buy a Leanpub book, you get free updates for as long as the author updates the book! Many authors use Leanpub to publish their books in-progress, while they are writing them. All readers get free updates, regardless of when they bought the book or how much they paid (including free).

Most Leanpub books are available in PDF (for computers), EPUB (for phones and tablets), MOBI (for Kindle) and in the free Leanpub App (for Mac, Windows, iOS and Android). The formats that a book includes are shown at the top right corner of this page.

Finally, Leanpub books don't have any DRM copy-protection nonsense, so you can easily read them on any supported device.

Learn more about Leanpub's ebook formats and where to read them

Write and Publish on Leanpub

You can use Leanpub to easily write, publish and sell in-progress and completed ebooks and online courses! Leanpub is a powerful platform for serious authors, combining a simple, elegant writing and publishing workflow with a store focused on selling in-progress ebooks. Leanpub is a magical typewriter for authors: just write in plain text, and to publish your ebook, just click a button. It really is that easy.

Learn more about writing on Leanpub