2009-04-22から1日間の記事一覧
/controller/main_controller.rb def new @member = Member.new(params[:member]) if @member.save flash[:notice] = '登録が完了しました。' render :action => 'show',:id => @member.id else render :action => 'create' end end/show.rb <%= h(flash[:no…
参考。 $ruby script/plugin install http://topfunky.net/svn/plugins/calendar_helper/index.rhtml <%= calendar(:year => 2009,:month => 4)%>にて、サーバーを再起動すると、プラグインが読み込まれる。プラグインは、 /vendor/plugins の中にフォルダー…