Skip to content

Instantly share code, notes, and snippets.

@yumitsu
Created December 18, 2010 23:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save yumitsu/746956 to your computer and use it in GitHub Desktop.
Save yumitsu/746956 to your computer and use it in GitHub Desktop.
def create
if session[:verified].nil?
flash[:message] = 'Проверьте правильность введенных данных'
render :action => :new
session[:verified] = true
else
# Работа с данными и вставка в БД
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment