This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
=form_for :company_branch do |f| | |
.field | |
.label Company Type | |
.input=f.collection_select :company_type_id, CompanyType.not_expired, :id, :name | |
.field | |
.label Name | |
.input=f.text_field :name | |
.field | |
.label Address | |
.input=f.text_field :address |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module Trans | |
end | |
class Job < ActiveRecord::Base | |
has_many :job_translations | |
has_many :default_job_translations, :through => :job_translations | |
end | |
class DefaultJobTranslation < ActiveRecord::Base | |
named_scope :forum, where(:group=>"forum") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require File.expand_path(File.dirname(__FILE__) + '/acceptance_helper') | |
feature "Projects", %q{ | |
In order to allow a site to manage projects | |
As a site user | |
I want to.. | |
} do | |
background do | |
@site = create_site({:name=>"Company1"}, "username") |
NewerOlder