Displaying 2 results from an estimated 2 matches for "entry_control".
2006 Jan 16
3
file_column error
...new.rhtml attached.
Could anyone tell me why I got the error? It seems that rails can not
find "file_column" plugin.
Thanks in advance.
--
-Thomas
entry.rb:
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
class Entry < ActiveRecord::Base
file_column :image
end
entry_controller.rb:
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
class EntryController < ApplicationController
# Get information on a new product and
# attempt to create a row in the database.
def create
@entry = Entry.new(@params[:entry])
if @entry.save
flash[''not...
2006 Jan 16
6
file_column plugin error
...new.rhtml
attached.
Could anyone tell me why I got the error? It seems
that rails can not
find "file_column" plugin.
Thanks in advance.
--
-Thomas
entry.rb:
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
class Entry < ActiveRecord::Base
file_column :image
end
entry_controller.rb:
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
class EntryController < ApplicationController
# Get information on a new product and
# attempt to create a row in the database.
def create
@entry = Entry.new(@params[:entry])
if @entry.save
flash[''not...