You shouldn't be encoding your values using inspect. That will get re-encoded into a literal string, which is probably not your intention The correct way to put things in your form is to do the opposite of how you want to decode them: %= form. Text_field :group, :value => session:id_group.
Join(',') % Where join and split are matched up properly, it will work. The counterpart to inspect is eval and you really do not want to do that as someone can run arbitrary code that way As a note, you can also load a bunch of users with a single query using something like: ids = params:group. Split(/,/) @users = User.
Find_all_by_id(@ids) This is much more efficient than loading them in one at a time.
You shouldn't be encoding your values using inspect. That will get re-encoded into a literal string, which is probably not your intention. The correct way to put things in your form is to do the opposite of how you want to decode them: session:id_group.
Join(',') %> Where join and split are matched up properly, it will work. The counterpart to inspect is eval and you really do not want to do that as someone can run arbitrary code that way. As a note, you can also load a bunch of users with a single query using something like: @ids = params:group.
Split(/,/) @users = User. Find_all_by_id(@ids) This is much more efficient than loading them in one at a time.
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.