20 Jun '12, 9am

#rails have some interesting methods some times.

i_suck_and_my_tests_are_order_dependent! () public Call this at the top of your tests when you absolutely positively need to have ordered tests. In doing so, you’re admitting that you suck and your tests are weak. Show source # File lib/minitest/unit.rb, line 997 def self.i_suck_and_my_tests_are_order_dependent! class << self define_method :test_order do :alpha end end end

Full article: http://apidock.com/ruby/v1_9_3_125/MiniTest/Unit/TestCase...

Tweets

It is time for your infrequent reminder about b...

dablog.rubypal.com 19 Jun '12, 10pm

In Ruby, you can write methods whose names end in ! (exclamation point or “bang”). There’s a lot of confusion surrounding ...

Help Rails with 'weird' Regexps - CHECK / https...

edgeguides.rubyonrails.org 21 Jun '12, 8pm

Web application frameworks are made to help developers building web applications. Some of them also help you with securing...

What's New in Edge Rails #25

afreshcup.com 18 Jun '12, 11am

A Fresh Cup is Mike Gunderloy's software development weblog, covering Ruby on Rails and whatever else I find interesting i...

Application templates in Rails 3:

everydayrails.com 19 Jun '12, 10pm

I actually got started by learning how to create generators in Rails 3 (used to create custom code in an existing Rails ap...

Hot off the press! @techpickles writes about how we use @ScoutApp to monitor our client's applications – #useful

Hot off the press! @techpickles writes about ho...

railsmachine.com 20 Jun '12, 12pm

Posted by Josh Nichols on June 20, 2012 | 0 comments At Rails Machine , we provide 24×7 monitoring as part of our Managed ...

Ubuntu 12.04 Ruby on Rails Development Environment

rubyflow.com 20 Jun '12, 4pm

I know I'm late to the party, but I just couldn't find a guide that documented a rails setup the way that I needed it to, ...

Rail Spikes: How to fix your Rails helpers:

railspikes.com 18 Jun '12, 4am

I usually allow new methods to live in application_helper until there are 2-3 related methods that could be extracted into...

Jay Fields' Thoughts: Ruby: Class Methods:

Jay Fields' Thoughts: Ruby: Class Methods:

blog.jayfields.com 17 Jun '12, 5am

The real stumbling block is that Java class methods are totally different things from Ruby "class" methods, so different t...

Learning Ruby and Rails:

everydayrails.com 18 Jun '12, 3am

I live in a town dominated by Python, PHP , and Java developers, so hiring someone who can come in and write Ruby code fro...

Rails(ActiveRecord)やそれをまねたらしいCakePHPの、findByFoo...

guides.rubyonrails.org 18 Jun '12, 8am

Find records using a variety of methods and conditions Specify the order, retrieved attributes, grouping, and other proper...

@polotek @rwaldron @timw4mail Ruby uses # to de...

railstips.org 10 Jun '12, 5pm

The other day I was explaining the difference between class and instance methods to a friend and I realized that I should ...

Open Source Rails

opensourcerails.com 17 Jun '12, 1am

Open Source Rails is a community site dedicated to tracking the best open source Ruby on Rails applications.

Rails 2 Asset pipeline

rubyflow.com 17 Jun '12, 8pm

Rails 2 Asset pipeline Posted by grosser on June 17, 2012 — 0 comments Stuck with Rails 2 and want some asset pipeline lov...

Ruby5 - 25 things you need to know about Backbo...

ruby5.envylabs.com 18 Jun '12, 3pm

Tribune Company open sources eight gems … New “Giant Robots Smashing Into Other Giant Robots” podcast from thoughtbot … Gr...

Rails 3.1: assign_attributesメソッド - Rails 雑感 - R...

oiax.jp 14 Jun '12, 7am

ゴールデンウィーク中の5月5日にRails 3.1 beta1がリリース されました。 派手な点としてはJQuery, CoffeeScript, Sassなどをデフォルトして採用したことが挙げられますが、私が注目しているのはActive Re...