March 11, 2012 Tagged: factory girl ruby tdd testing shoulda rspec Comments (View) Short, explicit test setups You probably know about this Factory Girl definition syntax: FactoryGirl.define do factory :user do name 'Connie Customer' end end But did you know about this Factory Girl in...
is Mike Gunderloy's software development weblog, covering Ruby on Rails and whatever else I find interesting in the universe of software. I'm a full-time Rails developer and contributor, available for long- or short-term consulting, with solid experience in working as part of a distri...
I love Ruby because ... Posted by rtdp on March 12, 2012 — 0 comments I really love ruby language, and so do many folks using it. So, this is an attempt to collect resons for that from everybody. Knowing what ticks for others in language, can be a good learning exercise. Check it out ...
usp.ruby Archives for your e-reader Posted by jstorimer on March 12, 2012 — 0 comments usp.ruby is "a text-only mailing list for Unix systems programming in Ruby". The content is written by Eric Wong (author of Unicorn) and is a great resource to learn about Unix programming without d...
The Mentors shall give you URL’s of pages and sometimes some extra notes; you need to read through. Read the pre-class reading material at a convenient time of your choice – the dates mentioned are just for your guideline. While reading, please make a note of all your doubts, queries,...
Monday, March 12, 2012 at 6:24AM Habits come in many shapes and sizes. Polishing Rubies: A Guide to Ruby Open Source Development (Part I) - Michael Bleigh starts a new series with a look at rubygems. Getting the Most out of Bundler Groups - Smart use of groups can minimize loading tim...
To use Bourbon with Rails’ asset pipeline we’ll need to change the way that the default application.css file works. By default this file will use a Sprockets manifest to load each of the other stylesheet assets. The problem with this is that Sprockets compiles each SASS file into CSS ...
load や require がファイルをロードする時に検索するディレクトリのリスト を含む配列です。 (覚え方: コロンは環境変数PATH の区切り文字である) 起動時には、-I directory オプションで指定したディ レクトリ、環境変数 RUBYLIB の値、コンパイル時に指定 したデフォルト値、"." (カレントディレクトリ) を含みます。 以下に典型的な UNIX システム上でのロードパスを示します。 -I で指定したパス 環境変数 RUBYLIB の値 /usr/local/lib/ruby/site_ruby/VERSION サイト固有、バージョ...
This is not yet another "Ruby is better than Java" article. Nor is it intended to bash Java or Java programmers. Rather, it is an attempt to aid Java programmers who are investigating Ruby by helping them quickly get over the "Writing Java in Ruby " syndrome and to discover the Ruby W...
Devise handles authentication across the entire stack. It you’re familiar with Authlogic which was covered back in episode 160 [watch , read ] you’ll know that it covers just the model layer. By comparison, devise is a Rails Engine and covers controllers and views as well. Devise is m...
is Mike Gunderloy's software development weblog, covering Ruby on Rails and whatever else I find interesting in the universe of software. I'm a full-time Rails developer and contributor, available for long- or short-term consulting, with solid experience in working as part of a distri...
To start, I recommend reading through Jarod Santo’s excellent introduction to using jQuery Mobile with Rails 3 . It goes through the steps of integrating the mobile framework into a standard CRUD scaffold. However, to make your app both mobile and desktop-savvy, you’ll probably want t...
Working With Rails - sponsored and created by DSC Disclaimer: This is a publicly accessible database. The views and opinions of originators and contributors expressed on this site do not necessarily state or reflect those of DSC Limited. No representation or warranty is given as regar...
Twitter Bootstrap can help make beautiful web apps quickly by providing you with useful CSS and JavaScript. Here you will learn how to include it into Rails with the twitter-bootstrap-rails gem.
This page collects various implementation details about MacRuby. For a user-friendly description, with examples, please see the MacRubyTutorial . Note that since MacRuby is still under development, the content of this page may not always be up-to-date. Class and Object Model Ruby clas...
Bettertabs is a Rails 3.1+ engine that adds a helper and jQuery plugin to define the markup and behavior for a tabbed area in a easy and declarative way, using the appropiate JavaScript but ensuring accessibility and usability, no matter if the content is loaded statically, via ajax o...
Personifi uses Rack cause we like its elegant design, speed and fast turn around time. With Rack we serve billions of requests per month. It makes our life good! —Armin Roehrl, Lead Engineer of Personifi
Одна из тривиальных задач для RoR-разработчика: реализовать функционал “инбоксов”, или личных сообщений. Решать эту задачу приходиться чуть ли не на каждом из проектов, поэтому столкнувшись с этим в очередной раз я принял решение создать удобный компонент мессенджера для приложения на...
This page lists the security vulnerabilities that were fixed in Redmine releases, starting from 1.3.0. If you think that you've found a security vulnerability, please report it by sending an email to: security(at)redmine.org . Fixed in Redmine 1.3.2 Moderate : persistent XSS vulnerabi...
MetaWhere provides a way to do complex find conditions without SQL in Active Record. MetaSearch makes it easy to create search forms with many find options.