(rails 2.3) I have the following actions in the controller:
def new
@entity = Entity.new
end
def create
@entity = Entity.new(params[:entity])
@entity.save
end
I have the following form:
#this is the new.html.erb
<% for_remote_for(@entity) do |f| %>
<%= f.text_field :title %>
<%= f.text_field :description %>
<% end %>
For some reason the values for :title, and description is being passed as null. Everything else (e.g created_at, updated_at) gets populated.
Any suggestion why these values are being passed as null?