rss Home » Tag Archive For ‘Rails’

Rails Recipes: Rails 3 Edition, 2nd Edition

Rails Recipes: Rails 3 Edition, 2nd Edition

Book Description

Written for novice to intermediate developers, Recipes: 3 Edition is packed with solutions to 70 of the most vexing problems you’re likely to face on the job. From building custom forms and powering pages with to integrating with legacy databases, it’s all here. Each recipe has been updated to reflect the latest features of Rails 3.1 and each lays out a distinctive solution to a problem you may be facing today or could well encounter tomorrow. In addition, you’ll find half the book is stocked with new eye-opening solutions to such common problems as how to extend Rails, test and deploy your sites, or add a service to your actions. And each recipe not only lays out a succinct solution, but explains its rationale and the technologies that make it work.

Loaded with the insights of a Rails community leader, members of the Rails core team and other experts, this is the book you’ll want to have at your side as you craft your next project.

What You Need:
1.8.7 or above. Rails 3.1 or above

Table of Contents
Part I: Database Recipes
Recipe 1. Create Meaningful Many-to-Many Relationships
Recipe 2. Create Declarative Named Queries
Recipe 3. Connect to Multiple Databases Download Now »

The Rails View: Creating a Beautiful and Maintainable User Experience

The Rails View: Creating a Beautiful and Maintainable User Experience

Book Description

Working in the View layer requires a breadth of knowledge and attention to detail unlike anywhere else in . One wrong move can result in brittle, complex views that stop future in its tracks. This book will help you break free from tangles of logic and markup in your views as you pick up the practical skills you need to implement your user interface cleanly and maintainably.

You’ll discover how to build up solid, sustainable layouts and popular interface elements with semantic 5 and , and when you can responsibly generate markup and use advanced presenters… all without leaving the designers on your team out in the cold. Widen your appeal with responsive design, and discover how new progressive enhancement techniques can take you beyond the “weakest link” approach of the past. Master the asset pipeline introduced in 3.1 and use and to make your interface code shorter and more enjoyable.

You’ll create elegant, well-structured views that are a joy to build on. You’ll appreciate its comprehensive, objective guidance in a realm full of subjective opinions.

What You Need:
All examples in the book assume Rails 3.1 or later and 1.9.x are installed. Detailed information on how to install these for , and is included in the book.

Download Now »

Rails 3 in Action

Rails 3 in Action

Book Description

3 is a full stack, framework powered by and this book is an introduction to it. Whether you’re just starting or you have a few cycles under your belt, you’ll appreciate the book’s guru’s-eye-view of idiomatic programming.

You’ll master 3.1 by developing a ticket tracking application that includes routing, authentication and authorization, state maintenance, file uploads, email, and more. You’ll also explore powerful features like designing your own APIs and building a engine. You will see Test Driven and Behavior Driven in action throughout the book, just like you would in a top shop.

It is helpful for readers to have a background in , but no prior Rails experience is needed.

What’s Inside

  • Covers Rails 3.1 from the ground up
  • and BDD using RSpec and Cucumber
  • Working with Rack

Table of Contents

  1. , the framework
  2. saves your bacon Download Now »

Continuous Testing: with Ruby, Rails, and JavaScript

Continuous Testing: with Ruby, Rails, and JavaScript

Book Description

Continuous (CT) is a developer practice that shortens the feedback loops established by test-driven and continuous integration. Building on techniques used by Agile software practitioners, Continuous with shows you how to get instant feedback about both the quality of your code, and the quality of your tests.

We show how you can create a customized continuous testing environment, specifically suited to the projects you’re working on. You’ll see working examples for languages such as and , but the techniques described in this book can easily be applied no matter what technology you happen to be working with. We also cover how to extend this environment when working with frameworks such as , and discuss how creating rapid feedback loops can dramatically increase the rate at which you can deliver working, valuable software.

Automated testing is an increasingly common practice in the software industry. However, many companies struggle to gain all the benefits of automated testing, due to poorly written or incomplete tests. Continuous Testing with Ruby shows how these companies can get the most value out of their existing tests. It also helps you improve the quality of the new tests you write, by giving you instant feedback about problem areas, and creating a visceral feedback loop for test quality that you can actually feel as you work.

Just as continuous integration and test-driven development have changed the definition of software development in the last ten years Download Now »

Crafting Rails Applications: Expert Practices for Everyday Rails Development

Crafting Rails Applications: Expert Practices for Everyday Rails Development

Book Description

Core developer Jose Valim guides you through seven different tutorials, each of them using test-driven to build a new extension or application that solves common problems with these new APIs. You will understand how the rendering stack works and customize it to read templates from the database while you learn how to mimic Active Record behavior, like validations, in any other object. You will find out how to write faster, leaner controllers, and you’ll learn how to mix Sinatra applications into your apps, so you can choose the most appropriate tool for the job. In addition, you will improve your productivity by customizing generators and responders.

This book will help you understand Rails 3′s inner workings, including generators, template handlers, internationalization, routing, and responders. With the knowledge you’ll gain, you’ll be ready to tackle complicated projects more easily than ever before, creating solutions that are well-tested, modular, and easy to maintain.

About the Author
Jose Valim is the lead developer and co-founder of Plataforma Tec. He started working with and Rails in late 2006 and was invited to be part of the Rails Core Team in 2010 after his work on Rails 3 . He’s also author and maintainer of various other well-known projects that led him to receive a Hero award in recognition for his contributions to the community. Lately, he’s been flying around the globe giving talks and courses about and Rails. Download Now »

Service-Oriented Design with Ruby and Rails

Service Oriented Design with Ruby and Rails

Book Description

The Complete Guide to Building Highly Scalable, Services-Based Applications

on deployments are growing, and is increasingly being adopted in larger environments. Today, developers and architects need better ways to interface with legacy systems, move into the cloud, and scale to handle higher volumes and greater complexity. In Service-Oriented Design with and Rails Paul Dix introduces a powerful, services-based design approach geared toward overcoming all these challenges. Using Dix’s techniques, readers can leverage the full benefits of both Ruby and Rails, while overcoming the difficulties of working with larger codebases and teams.

Dix demonstrates how to integrate multiple components within an enterprise application stack; create services that can easily grow and connect; and design systems that are easier to maintain and upgrade. Key concepts are explained with detailed Ruby code built using libraries such as ActiveRecord, Sinatra, Nokogiri, and Typhoeus. The book concludes with coverage of security, scaling, messaging, and interfacing with third-party services.

Service-Oriented Design with Ruby and Rails will help you

  • Build highly scalable, Ruby-based service architectures that operate smoothly in the cloud or with legacy systems
  • Scale Rails systems to handle more requests, larger teams, and more complex code bases
  • Master new best practices for designing and creating services in Ruby Download Now »
Copyright © 2012 Wow! eBook · All rights reserved · Powered by WordPress