background preloader

Ruby

Facebook Twitter

Factory Girl Hits 3.0! Factory Girl is now 3.0! It's been a wonderful eight months and I'm really excited about what we've added in 2.x. We've adopted semantic versioning and it's been a good way to ensure that we're providing software that's reliable and stable. The Big Changes No more Ruby 1.8 support You heard correctly; FactoryGirl requires Ruby 1.9+. We want to continue to move forward and supporting 1.8 was something we felt was holding us back. If you can't upgrade to Ruby 1.9 and Rails 3, you can continue to use factory_girl_rails version 1.x and FactoryGirl 2.x; those will continue to support Ruby 1.8.7+ and Rails 2.3.9+. No more Rails 2 support FactoryGirl 3.0 now only supports Rails 3.x. Vintage syntax deprecated The vintage syntax has been deprecated and will be removed in the next major release. Factory(:comment) Factory.next(:email) Factory.stub(:article) Factory.define(:admin_user, :parent => :user) do |admin| admin.admin trueend Upgrading To upgrade in a Rails app, just update your Gemfile:

Ruby. Ruby | Nettuts+ - Part 2. RubySource » Everything About Ruby On Rails Development and Database Programming. jQuery: The Write Less, Do More, JavaScript Library. Ruby Programming. Ruby is an interpreted, object-oriented programming language. Its creator, Yukihiro Matsumoto, a.k.a “Matz,” released it to the public in 1995. Its history is covered here. Its many features are listed here. The book is currently broken down into several sections and is intended to be read sequentially. Getting started will show how to install and get started with Ruby in your environment. Table of Contents[edit] Getting started[edit] Overview Installing Ruby Ruby editors Notation conventions Interactive Ruby Mailing List FAQ Basic Ruby[edit] Hello world Strings Alternate quotes Here documents Encoding Introduction to objects Ruby basics Data types — numbers, strings, hashes and arrays Writing methods Classes and objects Exceptions Ruby Semantic reference[edit] See also some rdoc documentation on the various keywords.

Built in Classes[edit] This is a list of classes that are available to you by default in Ruby. Available Standard Library Modules[edit] Other Libraries[edit] Database Interface Modules Unit testing. Index of Files, Classes & Methods in Ruby 1.9.2 (Ruby 1.9.2) Ruby for Newbies. The Ruby Toolbox - Know your options! Ruby Tutorial. RubyLearning.com Helping Ruby Programmers become Awesome!

Ruby Study Notes: TOC Core Ruby Programming Introduction InstallationWhat is Ruby? Downloading Ruby and an EditorRuby Programming Environment First Ruby Program Features Numbers in RubyOperators and PrecedenceDifference between or and || operator Fun with Strings Variables and Assignment Summary 1 ScopeGlobal scope and global variablesBuilt-in global variablesLocal scope Getting Input Names in Ruby More on Ruby Methods Writing own Ruby MethodsBang (!) MethodsMethod names ending with ? Note: The Ruby Logo is Copyright (c) 2006, Yukihiro Matsumoto. . © 2006-2017 RubyLearning.com - A Ruby Tutorial Page Updated: 1st Jan. 2016 | Design: Erwin Aligam | Valid: XHTML | CSS Home | Privacy | Sitemap.

RVM

RDoc Documentation [ruby-doc.org] RubyGems.org | your community gem host.