Displaying 4 results from an estimated 4 matches for "content_pages".
Did you mean:
content_page
2006 May 08
4
Tables names with model classes in seperate modules
I have a module that deals with content pages and categories in my
application so create following tables:
content_pages
content_categories
Obviously I need a Page and Category module to map to these tables, but
in order to avoid conflicts with other Category classes, i declare my
model classes like this:
Content::Page
Content::Category
Now, that''s all fine - except that my models are still looking for...
2007 Oct 18
4
Polymorphic Association?
Hi there-
I''m a newbie to this board, RoR, and web development in general. So
please forgive me if this is in the wrong place or if the solution is
really simple...
I''m trying to conceptualize the relationships between a series of
models for a page creation function. What I''d like is to have a
Content Page which consists of a series of Content Blocks. The
Content
2007 Sep 10
2
IO errors with 2 processes
Hi All,
I''m using acts as ferret and getting a lot of these errors:
----
Error occured in fs_store.c:324 - fs_open_input
couldn''t create InStream
/var/rails/projectblue/website/public/../config/../index/production/content_page/_347i.fdt:
<No such file or directory>
----
and also some of these errors:
----
uninitialized constant Ferret::Index::Index::LockError
2006 Feb 16
10
Confused over Model attrbutes and @ prefix
I''m confused about how attributes work in models. For example:
class Page < ActiveRecord::Base
attr_accessor :body
def foo
id # works
@id # won''t work IIRC
body # won''t work
@body #works
end
end
Why doesn''t everything work the same?
Joe
--
Posted via http://www.ruby-forum.com/.