Ruby on Rails Tuesday, July 31, 2012

Can any one help how to integrate barcode reader into my Application.

What I want actually is that,
By Capturing the value of barcode(registrtion_id) all other fields of
that particular record need to autofill.

***I Am Looking For Your Valuable Reply **8

Thanks in Advance.

--
Posted via http://www.ruby-forum.com/.

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Ruby on Rails Monday, July 30, 2012

try referring to the attribute like this instance[:message] where instance it the name of the instance of course, e.g outgoing_message_recipient[:message]

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Ruby on Rails

You can access the object by using

f.object

then you can do 

f.object.send

here 'f.object' return an instance of Question, but i think that whatever you are trying to do you are doing it wrong, can you elaborate in what you are trying to do?


--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.