28 Jul '13, 8am

Ruby on Railsで複合キーを扱う - Ruby on Rails with OIAX

# coding: utf-8 require 'spec_helper' describe Department do let(:department0) { FactoryGirl.create(:department, code: "robot", name: "Department0", started_on: Date.new(2000, 1, 1), ended_on: Date.new(2002, 1, 1)) } let(:department1) { FactoryGirl.create(:department, code: "robot", name: "Department1", started_on: Date.new(2002, 1, 1), ended_on: nil) } let(:department2) { FactoryGirl.create(:department, code: "ship", name: "Department1", started_on: Date.new(2002, 1, 1), ended_on: nil) } before do department0 department1 department2 end it "部門(department)を複合キーで検索できる" do DurationLimited.current_date = Date.new(2001, 1, 1) dep0 = Department.find("robot") dep0.name.should == department0.name DurationLimited.current_date = Date.new(2003, 1, 1) dep1 = Department.find("robot") dep1.name.should == department1.name end it "2001年1月1日当時の製品(product)リストを取得できる" do FactoryGirl.create(:...

Full article: http://www.oiax.jp/rails/zakkan/composite_primary_keys_4....

Tweets

Ruby on Railsで複合キーを扱う - Ruby on Rails with OIAX

Ruby on Railsで複合キーを扱う - Ruby on Rails with OIAX

oiax.jp 28 Jul '13, 8am

class ProductsController < ApplicationController def index @department = Department.find(params[:department_id]) @products...

#freelance #loker Ruby on rails Screencast by j...

freelancer.co.id 27 Jul '13, 10pm

Deskripsi Proyek: I am looking for a well-rounded, experienced rails developer and competent screencast creator to help cr...

Ruby on rails Screencast by joshobaro: I am loo...

freelancer.com 27 Jul '13, 10pm

I am looking for a well-rounded, experienced rails developer and competent screencast creator to help create a screen cast...

Telecommuting job: Ruby on Rails Developer at D...

jobmote.com 26 Jul '13, 7pm

(Orlando / Las Vegas / Anywhere) We are looking for a Ruby on Rails developer to assist with current day to day client web...

New job available: Ruby on Rails Developer at D...

cooldesignjobs.com 26 Jul '13, 12pm

We are looking for a Ruby on Rails developer to assist with current day to day client web application development and main...

Ruby on Rails チュートリアル:実例を使ってRailsを学ぼう - Michael...

railstutorial.jp 27 Jul '13, 6am

The HTML source of the Ruby on Rails Tutorial book is available under the Creative Commons Attribution-ShareAlike 3.0 Unpo...

Programador y analista programador Ruby on rail...

opcionempleo.com 27 Jul '13, 5am

BESOFTWARE SELECCIONA para Importante Empresa, PROGRAMADORES y ANALISTAS PROGRAMADORES en RUBY ON RAILS con experiencia, c...

Are you a good fit for this job? Ruby on Rails ...

bullhornreach.com 26 Jul '13, 10pm

Direct Hire Ruby on Rails Developer Positions in Phoenix, AZ! Stable/Successful Company that has won numerous awards/accol...

“Ruby on Rails チュートリアル:実例を使ってRailsを学ぼう - Michae...

railstutorial.jp 26 Jul '13, 5am

The HTML source of the Ruby on Rails Tutorial book is available under the Creative Commons Attribution-ShareAlike 3.0 Unpo...

What makes Ruby on Rails special and why are bu...

goodinfohome.com 26 Jul '13, 7am

<!DOCTYPE HTML PUBLIC '-//W3C//DTD HTML 4.01 Transitional//EN' 'http://www.w3.org/TR/html4/loose.dtd'><html><head><title>G...

Posted on @authenticjobs: "Dyverse: Ruby on Rai...

authenticjobs.com 25 Jul '13, 7pm

We are looking for a Ruby on Rails developer to assist with current day to day client web application development and main...

[Freelance] Ruby on Rails Developer — Dyverse: ...

authjo.bz 25 Jul '13, 7pm

We are looking for a Ruby on Rails developer to assist with current day to day client web application development and main...

This Month in Ruby: PeepCode Acquired, A Free Rails 4.0 Book, Rails 3.2.14, And More

This Month in Ruby: PeepCode Acquired, A Free R...

rubyinside.com 25 Jul '13, 4pm

Ruby on Rails 4.0 Guide: A Kindle Book That's Free Today A Kindle book by Stefan Wintermeyer that provides a step by step ...

Experienced Ruby on Rails Developer to join tea...

freelancer.com 25 Jul '13, 2am

We are looking for a Ruby on Rails developer to join our team. Must have at least 3+years experience with Ruby on Rails an...

How to set up Cucumber for your Ruby and Rails ...

rubyflow.com 23 Jul '13, 6pm

How to set up Cucumber for your Ruby and Rails projects Posted by manualwise on July 23, 2013 — 0 comments Watch this scre...