search for: create_ui

Displaying 1 result from an estimated 1 matches for "create_ui".

Did you mean: create_id
2008 Jan 08
0
Error in validation
...eCi < ActiveRecord::Base has_one :ci, :as => :content has_one :primary_group validates_presence_of :name, :message => "can''t be empty" end The controller ================ def create @software_ci= SoftwareCi.new(params[:ci]) redirect_to :action => ''create_ui'' end The rhtml, create_ui, I have given the following ======================= <% unless @software_ci.errors.empty? %> Error occurred! <ul> <% @software_ci.errors.each_full do |message| %> <li><%= message %></li> <% end %> </ul...