At this time I need to get and id value from an association Because I create a new note, but i can assign this note to whoever i want, then I have it this way
<%= f.association :user,
        :label      => false,
        :selected   => current_user.id,
        :required   => true,
        :input_html => {
            :class      => 'span4', 
            :disabled   => true, 
            :style      => "float:right", 
            :id         => "usuario"} %>
And the controller create method is this way
 def create
    @note = Note.new(note_params)
    @note.user_id = params[:user]
    render :action => :new unless @note.save
end
But when I press the submit button everything save unless the value for the column :user_id
I have tried with params[:user_id] but it doesn't work
Thanks for your help and sorry for my english