I have 2 previously defined strings :
table_string that holds the table name and field_string that holds the field name in this table , these 2 strings are variables and change depending on the previous page where they are coming
for example in a specified page i will press on a link that will redirect me to this page with table_string=user and field_string=fullname
I should here access the attribute @user.fullname
I tried to concatenate table_string + "." + field_stringin another string let's say x and then display
<%= @x %>as if im typing@user.fullname` but this does not work
How can I display this variable field knowing that the table name will also changes ???
sendmethod: apidock.com/ruby/Object/send . As for the object instantiation, I don't think it's possible to do it the way you propose.