n Thursday, October 25, 2012 6:26:46 PM UTC-4, bwb wrote:
>
> my code looks like this:
> xml.instruct!
> xml.county(name: @jurisdiction.name, id: @jurisdiction.jurisdictionID) do
> xml.officials do
> @officials.each do |official|
> xml.official do
>
my code looks like this:
xml.instruct!
xml.county(name: @jurisdiction.name, id: @jurisdiction.jurisdictionID) do
xml.officials do
@officials.each do |official|
xml.official do
xml.firstname official.firstname
xml.lastname official.lastname
xml.eotypeID eotypeID:
These models are defined with respect to a legacy database:
class VeType < ActiveRecord::Base
has_many :ve #plural defined as "ve"
self.primary_key = "typeID"
end
class Ve < ActiveRecord::Base
belongs_to :ve_type, :foreign_key => "TypeID"
C:/Ruby193/lib/ruby/gems/1.9.1/gems/mysql2-0.3.11-x86-
mingw32/lib/mysql2/mysql2.rb:2:in `require': Incorrect MySQL client librar
y version! This gem was compiled for 6.0.0 but the client library is 5.5.19.
(RuntimeError)
--
You received this message because you are subscribed to the Google Grou
4 matches
Mail list logo