Field from from but not in DB

ok I’m down to getting AR to ignore the field. the field is called
turing… I have two function stubs…

def turing
end
def turing=(temp)
end

what do i need to do in these two functions to emulate what AR would
have for column in the DB…

well if someone ever tries to do the same type of thing. maybe they
will find how i solved this!!

the answer is to add the following

def turing
@tempturing
end
def turing=(temp)
@tempturing=temp
end

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs