Hi All,

I have this code in my controller.

   @accesspoint = Accesspoint.new(params[:accesspoint])
  @accesspoint.radgroupcheck_attributes = [{ :value => 
params[:accesspoint][:shortname], :groupname => current_user.email }]

It will not work, (I got an error "can't convert Symbol into Integer" however 
an activerecord method with:

    @accesspoint.radhuntgroup_attributes = [{:groupname => 
params[:accesspoint][:shortname]}]

Could someone enlighten me about this?

Thanks,
Muhammad Nuzaihan

-- 
You received this message because you are subscribed to the Google Groups 
"sequel-talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sequel-talk.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to