Syntax for text_field

I have two tables named cis and software_cis which are polymorphically
In the interface for editing the data in software_cis table, i specified
the text_field component as
<%= text_field ‘ci.content’, ‘name’ %>

But it printed an error:
`@ci.content’ is not allowed as an instance variable name

When i give <%=> the name field from software_cis
table is
printed. So please tell me the correct syntax of text_field. How can i
refer the software_cis table using model ci?


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