background preloader

Rails

Facebook Twitter

Gems

Rails Tutorials, Examples, and Starter Applications. Rails Tutorial · RailsApps. Recommendations for a Rails tutorial.

Rails Tutorial · RailsApps

Learn Ruby on Rails with a tutorial to suit your skill level and learning style. Select your preferences: Skills AllBeginnerIntermediateAdvanced Format AllArticleBookVideoInteractiveSlidedeck Structure AllDescriptiveWalkthroughTextbook Scope AllOverviewFocusedComprehensive Examples AllClassroomReal-world Version AllUndatedRails 3.2Rails 4 Cost All$0$1 to $19$20+ Special Topics AllRailsRubyGitTestingJavaScriptBootstrapDeviseNoSQLeCommerceDeploying In-depth primer introduces Ruby on Rails to beginners. No prior knowledge required. Tutorials - Jumpstart Lab Curriculum. Ruby on Rails Tutorial (3rd Ed.), Learn Web Development with Rails - Michael Hartl.

The Ruby on Rails Tutorial helps you learn Rails by example through the development of a substantial sample application, including a site layout, a user data model, a full registration and authentication system, user-micropost associations, social “following”, and a feed of status updates.

Ruby on Rails Tutorial (3rd Ed.), Learn Web Development with Rails - Michael Hartl

The Ruby on Rails Tutorial also teaches good software development practices, including version control with Git and GitHub, test-driven development (TDD) and integration testing, and instant deployment with Heroku. Though of necessity the book and screencasts focus on a specific sample application, the emphasis throughout the Rails Tutorial is on general principles, so you will have a solid foundation no matter what kind of web application you want to build. New in the current edition Previous versions Translations Translations of the Ruby on Rails Tutorial are available in several lanugages: Print edition The print edition will be published by Addison-Wesley and is scheduled to be released in Spring 2015. Rails Tutorials, Examples, and Starter Applications. Rails Tutorials, Examples, and Starter Applications. Chapter 1: From zero to deploy. Welcome to Ruby on Rails Tutorial: Learn Web Development with Rails.

Chapter 1: From zero to deploy

The purpose of this book is to teach you how to develop custom web applications, and our tool of choice is the popular Ruby on Rails web framework. If you are new to the subject, the Ruby on Rails Tutorial will give you a thorough introduction to web application development, including a basic grounding in Ruby, Rails, HTML & CSS, databases, version control, testing, and deployment—sufficient to launch you on a career as a web developer or technology entrepreneur. On the other hand, if you already know web development, this book will quickly teach you the essentials of the Rails framework, including MVC and REST, generators, migrations, routing, and embedded Ruby.

In either case, when you finish the Ruby on Rails Tutorial you will be in a position to benefit from the many more advanced books, blogs, and screencasts that are part of the thriving programming educational ecosystem.1 Box 1.1. Box 1.2. 1.1 Introduction. Jnunemaker/httparty. Writing an Ajax long polling server in Ruby, Part 1. I spent weeks researching ways to build an Ajax chat server for a Rails app.

Writing an Ajax long polling server in Ruby, Part 1

The info is out there, but very fragmented. Continuous Integration and Deployment - CircleCI. Email Delivery & Transactional Email Servers. Amazon S3 – The Beginner’s Guide. Few days ago, I was still struggling with solution to further scale this blog so it will serve contents faster and at the same time, not pressuring the server too hard.

Amazon S3 – The Beginner’s Guide

Hongkiat.com serves about 50,000 pageviews daily and that consumed about 60-80Gb of bandwidths on a daily basis. Something have to be done here so the requesting of images and files will not affect the stability of the entire server. After some readings, considerations and research, I settle for Amazon S3. You might have heard of it, or perhaps using it already. But for those who have problems scaling your site, looking for solutions or looking for a stable online file hosting, here I’ve written a fairly complete article (I hoped) that give you a basic understanding on Amazon S3, together with guides on getting and account to using it.

For the ease of reading, contents are spitted up in the following sections. Full guide after jump. In a Nutshell Who needs Amazon S3? Creating a File Hosting Site with CodeIgniter. AngularJS: Developer Guide: Directives. There was an error loading this resource.

AngularJS: Developer Guide: Directives

Please try again later. Note: this guide is targeted towards developers who are already familiar with AngularJS basics. If you're just getting started, we recommend the tutorial first. If you're looking for the directives API, you can find it in the $compile API docs. This document explains when you'd want to create your own directives in your AngularJS app, and how to implement them. What are Directives? AngularJS: Developer Guide: Services. There was an error loading this resource.

AngularJS: Developer Guide: Services

Please try again later. AngularJS services are substitutable objects that are wired together using dependency injection (DI). You can use services to organize and share code across your app. AngularJS services are: Lazily instantiated – AngularJS only instantiates a service when an application component depends on it.Singletons – Each component dependent on a service gets a reference to the single instance generated by the service factory. AngularJS offers several useful services (like $http), but for most applications you'll also want to create your own. Note: Like other core AngularJS identifiers, built-in services always start with $ (e.g. Auth0 - Identity infrastructure, built for developers. RequireJS.

The Intro to Rails Screencast I Wish I Had. Isn't it funny how most "introduction to Ruby on Rails" screencasts are overly simplistic, and rely on generators like scaffolding?

The Intro to Rails Screencast I Wish I Had

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.