# Field from from but not in DB

**URL:** <https://www.ruby-forum.com/t/field-from-from-but-not-in-db/124370>\
**Category:** Rails\
**Created:** [December 28, 2007, 3:30am UTC](https://www.ruby-forum.com/t/field-from-from-but-not-in-db/124370 "2007-12-28T03:30:52Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![spokra](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/ba8739/32.png) [@spokra](https://www.ruby-forum.com/u/spokra)\
**Post date:** [December 28, 2007, 3:30am UTC](https://www.ruby-forum.com/t/field-from-from-but-not-in-db/124370/1 "2007-12-28T03:30:52Z")

</div>

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…

---

<div class="post-metadata">

**Author:** ![spokra](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/ba8739/32.png) [@spokra](https://www.ruby-forum.com/u/spokra)\
**Post date:** [December 28, 2007, 3:42am UTC](https://www.ruby-forum.com/t/field-from-from-but-not-in-db/124370/2 "2007-12-28T03:42:35Z")

</div>

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
