My Recent Pastes (97 and counting)
Pastes by celeretaudax (97 and counting)
Below are the 7 most recent pasties by celeretaudax.
April 09, 2008
9:49PM EDT
by celeretaudax
View all 16 lines
def create @vote = Vote.new(params[:vote]) #unsuccessful, but this is what I would like to do @vote.issue_id = params[:issue_id]
April 09, 2008
1:18PM EDT
by celeretaudax
map.namespace :username do |username| username.connect ':controller/:action/:id' end
April 08, 2008
4:11PM EDT
by celeretaudax
View all 95 lines
##contact form in index.html.erb <% form_for :contact, :url => {:controller => 'contact', :action => 'send_contact_request'} do |f| %> <h2>contact us</h2> <div id="contactform">
April 05, 2008
4:50PM EDT
by celeretaudax
View all 19 lines
class CreateUsers < ActiveRecord::Migration def self.up create_table :users do |t| t.string :login t.string :hashed_password
April 04, 2008
12:04AM EDT
by celeretaudax
View all 18 lines
##first controller def create @model, session[:model] = Model.create(params[:model]) if reqest.post?
April 03, 2008
1:53AM EDT
by celeretaudax
View all 6 lines
def about respond_to do |format| format.js end
April 02, 2008
9:28PM EDT
by celeretaudax
View all 6 lines
respond_to do |format| format.html {redirect_to :controller => 'postset', :action => 'index'} format.js do render :update do |page| end
