search for: presentationcontroller

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

2008 Jan 17
2
Forms, database, and yes I'm new
...database when the submit button is clicked. I really can''t understand why not? What is wrong with my code? --------------------- Model --------------------- class Presentation < ActiveRecord::Base belongs_to :user end --------------------- controller --------------------- class PresentationController < ApplicationController def info @user_login = current_user.login @user_presentation = current_user.presentation.pres end def edit @presentation = current_user.presentation(params[:id]) end def update @presentation = current_user.presentation(params[:id]) if @presentation.upda...