search for: collectioncontroller

Displaying 2 results from an estimated 2 matches for "collectioncontroller".

2006 Feb 08
1
Save only inserts null instead of actual values
Hi, whenever I try to save my form, rails only enters null values in my database. I''m using sqlite, I thought that sqlite might be the problem, but the problem remains when I switched to mysql. Here is my code: controller: class CollectionController < ApplicationController def new @collection = Collection.new end def create if request.get? redirect_to :action => ''new'' elsif request.post? @collection = Collection.new(params[:collection]) if @collection.save flash[:notice] = ...
2008 Dec 03
0
help with rails+sproutcore
...eak on this error] Contacts.detailController = SC.ObjectController.create( detail-1...228318788 (line 18) Contacts is not defined [Break on this error] Contacts.ListItemView = SC.View.extend( list_ite...228318788 (line 17) Contacts is not defined [Break on this error] Contacts.masterController = SC.CollectionController.create( master-1...228318788 (line 18) Contacts is not defined [Break on this error] Contacts.Contact = SC.Record.extend( contact-...228319022 (line 17) Contacts is not defined [Break on this error] Contacts.FIXTURES = Contacts.FIXTURES.concat([ contact-...228318788 (line 9) Contacts is not defined...