Sha256: cfdaa373008e46bda1982365bf9ed2d4cb9731e995e7c25f01abaa2eb8ce846f
Contents?: true
Size: 715 Bytes
Versions: 13
Compression:
Stored size: 715 Bytes
Contents
class FormTestController < ApplicationController def index end #ActionView::Helpers:ActiveRecordHelper def form @user = User.new(params[:user]) return if request.get? return unless @user.save redirect_to :action=>:index end #ActionView::Helpers::FormHelper def form_for @user = User.new(params[:user]) return if request.get? return unless @user.save redirect_to :action=>:index end #ActionView::Helpers::FormTagHelper def form_tag @user = User.new(params[:user]) return if request.get? return unless @user.save redirect_to :action=>:index end #ActionView::Helpers::FormOptionsHelper # def select # # end end
Version data entries
13 entries across 12 versions & 3 rubygems