🌐 Public

Ruby on Rails 4

By Menno Wildeboer

Introduction

Recent sources about Rails 4. For anyone who wants to upgrade or start fresh.

Menno Wildeboer — Product Developer: iOS, Rails, JS, Mobile, UX.

Added by Menno Wildeboer: “Installation to get started. I recommend rbenv for managing Ruby versions. It simply works!

1 Rails OS X Developer Guide Installing an rbenv-based Rails stack on Mavericks and Mountain Lion

If you're like me, you have multiple Rails projects in flight at any given time. You want a no-nonsense development environment that gets out of your way so you can get your work done. This guide explains how to set up a Rails development environment with these goals: Install easily onto a stock Mac running OS X 10.8+. Automatically switch

Added by Menno Wildeboer: “Essential.

2 Getting Started with Rails - Ruby on Rails Guides

1 Guide AssumptionsThis guide is designed for beginners who want to get started with a Rails application from scratch. It does not assume that you have any prior experience with Rails. However, to get the most out of it, you need to have some prerequisites installed: The Ruby language version 1.9.3 or newer. The RubyGems packaging system, which is installed

Added by Menno Wildeboer: “Introduction tutorial.

3 How I TRAINed to learn Rails

ruby on railsHow I TRAINed to learn RailsA Guide to Learning Rails in 2 monthsAlthough I learned a few programming languages in the past, I had absolutely no experience with them except for Visual Basic, which is barely considered a language. I learned rails the hard way: 18 hours every day for 2 months. No sleep, no partying just pure

Added by Menno Wildeboer: “What's new. Essential to update.

4 Rails 4: What's New

A special thanks to Andy Lindeman for proofreading this article (and of course, for putting these together in his presentation. Check out Andy's book, Upgrading to Rails 4 for more Rails 4 goodness. Rails 4 is on the horizon, and there's lot's of new stuff to be excited about. Andy Lindeman has a great presentation called, "Rails 4 Whirlwind Tour"

Added by Menno Wildeboer: “Changes for Rails 4.1. The latest one!

5 What's new in Rails 4.1

This was originally published on the Coherence blog on December 17th, 2013. It has been migrated here for historical purposes.In case you haven't been paying attention, Rails 4.1 beta was released today! While this is a minor release, there are still plenty of handy new features that's worth getting excited about. Here are a few of my favourites, along with

7 What's new in Active Record [Rails 4 Countdown to 2013]

In today's Rails 4 countdown post, we are going to go over some of the changes being made to Active Record. While this list does not include every single change, it does summarize most of the non-specific database vendor changes. Null Object PatternBeing introduced in Rails 4 is ActiveRecord::QueryMethods.none, which implements the null object pattern. It is to be used

Added by Menno Wildeboer: “Changes of Ruby 2.0.

8 Ruby 2.0.0 by example - # Hash

There's a Portugese translation by Rodrigo Martins if you prefer. A quick summary of some of the new features of Ruby 2.0.0: Keyword argumentsThis makes method definitions very flexible. In summary: In Ruby 2.0.0, keyword arguments must have defaults, or else must be captured by **extra at the end. Next version will allow mandatory keyword arguments, e.g. def hello(optional: 'default',

Added by Menno Wildeboer: “Streaming in Rails 4. Something new and something potentially big!

9 Is it live?

HAPPY MONDAY EVERYONE! Besides enabling multi-threading by default, one of the things I really wanted for Rails 4.0 is the ability to stream data to the client. I want the ability to treat the response object as an I/O object, and have the data I write immediately available to the client. Essentially, the ability to deliver whatever data I want,

Added by Menno Wildeboer: “Rails 4 strong parameters allows you to take a greater control over the sanitizing process.

10 Strong Parameters by Example - sensible.io Blog

Rails has always had a nice way of sanitizing user input coming from ubiquitous forms. Up until Rails 3, the solution was to list accessible fields right in your models. Then Rails 4 came along and introduced a different solution - strong_parameters, allowing you to take a greater control over the sanitizing process. The following text should serve as a

11 Service Objects

Is your Rails app's business logic hidden in ugly controllers with 10+ lines long method and fat models powered by Linguini callbacks? Are your tests getting out of control and you spend most of your days looking at green dots? Do you want to impress your coworkers with Unicorn level code? You need Gourmet Service Objects™! I have been using

Added by Menno Wildeboer: “Guide about Testing in Rails.

13 A Guide to Testing Rails Applications - Ruby on Rails Guides

1 Why Write Tests for your Rails Applications?Rails makes it super easy to write your tests. It starts by producing skeleton test code while you are creating your models and controllers. By simply running your Rails tests you can ensure your code adheres to the desired functionality even after some major code refactoring. Rails tests can also simulate browser requests

Added by Menno Wildeboer: “About MiniTest, which now ships with Ruby.

14 Matt Sears | Minitest Quick Reference

UPDATE: I've added a new section on stubbing with MiniTest and a few helpful comments to the code samples. MiniTest, as the name suggests, is a small and fast unit testing framework. Shipped with Ruby 1.9, MiniTest supports a complete suite of testing capabilities such as TDD, BDD, mocking, and benchmarking. This quick reference aims to demonstrate MiniTest's main concepts

Added by Menno Wildeboer: “Latest Capistrano version.

15 Capistrano Version 3

By Alejandro Escamilla / via unsplash.comCapistrano Version 37 reasons to be excited about deploymentDeploying - the smell of coffee, the satisfaction of shipping, the excitement of lovingly crafted code going out into the world. It's hard not to love releasing code, but when it comes to actually writing deployment scripts, it's one part of programming that most people don't write

16 require 'mind'

You're not without knowing that Rails 4 is about to kick in in a few days (weeks?), are you? In a recent hobby project of mine I tested out MongoDB, together with Mongoid (the ORM that comes in replacement of ActiveRecord for querying the MongoDB database) and other pretty cool stuff. As I had a great time using it I

Thodoris Del Fasoulas

Freshman

  • 0 Playlists
  • 0 Followers

silver380

Freshman

  • 0 Playlists
  • 0 Followers

Todos

Freshman

  • 0 Playlists
  • 0 Followers

Maria Brovarska

Freshman

  • 0 Playlists
  • 0 Followers

Tim Robertson

Freshman

  • 0 Playlists
  • 0 Followers

ES Sinc

Freshman

  • 0 Playlists
  • 0 Followers

Bryan Beltrán

Freshman

  • 0 Playlists
  • 0 Followers

Ilija Miljkovac

Freshman

  • 0 Playlists
  • 0 Followers

Chin Seng

Freshman

  • 0 Playlists
  • 0 Followers

Marcos Duque

Freshman

  • 0 Playlists
  • 0 Followers

kongtoonarmy

Freshman

  • 0 Playlists
  • 0 Followers

Jakub Dziedzic

Freshman

  • 0 Playlists
  • 0 Followers

Nikolay

Freshman

  • 1 Playlists
  • 0 Followers

Mariusz Malachowski

WordPress developer with over 5 years experience. SEO Specialist and Ecommerce enthusiast.

  • 4 Playlists
  • 123 Followers

LOUNAS Koceila

Freshman

  • 0 Playlists
  • 0 Followers

maria.paktiti

Freshman

  • 4 Playlists
  • 2 Followers

ianfarrell123

Freshman

  • 0 Playlists
  • 0 Followers

J. De Leon

A creative digital entrepreneur with a passion for building creative and useful digital products.

  • 0 Playlists
  • 0 Followers

Jefferson Moreau

Freshman

  • 0 Playlists
  • 0 Followers

Ruses

Freshman

  • 0 Playlists
  • 0 Followers
Load more

Delete your comment

Are you sure you want to delete your comment?