What are you trying to do? If you don't explain it properly, nobody
will be able to help.
myvar = var
@customers = Customer.find(:all)
I want to generate get and set method
Sir, sir, sir.. what are you trying to do. Please study Ruby basics
before writing any Rails code. This will help:
Moreover, whatever you are trying to do in rails also, I believe, is
wrong & unnecessary.