search for: region_code

Displaying 4 results from an estimated 4 matches for "region_code".

Did you mean: reason_code
2007 Nov 07
5
Unexplainable failure...at least for me
..._address = [city, self.province.name, self.country.name].join(",").chomp(",") .. end When I run this in the console it works fine >> a = Address.new => #<Address:0x24c6420 @new_record=true, @attributes={"city"=>nil, "latitude"=>nil, "region_code"=>nil, "province_id"=>nil, "country_id"=>nil, "location_type"=>nil, "location_id"=>nil, "address_1"=>nil, "address_2"=>nil, "longitude"=>nil, "address_3"=>nil, "address_4"=>n...
2007 Dec 11
3
can''t access helper methods for model testing
...ember.stub!(:first_name).and_return("Joe") member.stub!(:last_name).and_return("Smith") member.stub!(:email).and_return("joe at smith.com") member.stub!(:city).and_return("LA") member.stub!(:region).and_return("CA") member.stub!(:region_code).and_return("234234") return member end end ======= require File.dirname(__FILE__) + ''/../spec_helper'' describe Member do before(:each) do @member = valid_member_mock end it "should be valid" do @member.should be_valid end end ======= N...
2006 Nov 07
1
reading VERY large binary files
...teger(),1,size=4) tran$total_items <- readBin(incon,integer(),1,size=4) tran$order_id <- readBin(incon,integer(),1,size=4) tran$txn_type <- readChar(incon,1) tran$gender <- readChar(incon,1) tran$zip_code <- readChar(incon,5) tran$region_code <- readChar(incon,1) tran$county_code <- readChar(incon,1) tran$state_abbrev <- readChar(incon,2) tran$channel_code <- readChar(incon,1) tran$source_code <- readChar(incon,20) tran$payment_type <- readChar(incon,1) tran$credit_...
2007 Dec 13
4
Attachment_fu problems on updates
...]) unless params[:photo].nil? respond_to do |format| if @member.update_attributes(params[:member]) .... end end Here is the Member model code: ------------------------- class Member < ActiveRecord::Base validates_presence_of :first_name, :last_name, :city, :region, :region_code has_many :groups, :through => :group_members has_one :photo, :as => "photo_for" validates_associated :photo end Here is the file_system_backend (where the error is occurring): ----------------------------------------------- def full_filename(thumbnail = nil) file_syste...