Displaying 4 results from an estimated 4 matches for "forumexample".
2006 Aug 04
3
ForumExample
Is ForumExample ( http://wiki.rubyonrails.com/rails/pages/ForumExample/
)
the best jumping off point for building in basic commenting
functionality?
Thanks,
Greg
--
Posted via http://www.ruby-forum.com/.
2006 Mar 23
3
when (not) to use belongs_to
...;m reasonably new to rails, and I''m having
a bit of trouble with when to use belongs_to. On the rails wiki (
http://wiki.rubyonrails.org/rails/pages/belongs_to), it says "In general,
the Foo model belongs_to :bar if the foo table has a bar_id foreign key
column." But according to ForumExample (
http://wiki.rubyonrails.org/rails/pages/ForumExample) doesn''t always do
this. A Message has_one author but there''s no ''belongs_to :message'' in the
Author class. There are examples of when the author uses it, and examples of
when he doesn''t.
Another thi...
2007 Feb 08
3
Get categories where forum-user posted in
I''m developing a system similar to the ForumExample (http://
wiki.rubyonrails.org/rails/pages/ForumExample), and stumbled upon the
following.
Let''s say I wanted to get all the categories a certain user posted in.
How do I get that information withouth using a custom query
through :finder_sql (and thus losing the find_in_collection ownage)?...
2006 Jul 28
11
Forum
...g forum and i have problem with paths.
Here is code:
http://pastie.caboo.se/6389
With this code, it works. But its a bit weird to use so many paths
function. For every path i need to make new function. So can you suggest
me something.
Tables are like here:
http://wiki.rubyonrails.com/rails/pages/ForumExample
--
Posted via http://www.ruby-forum.com/.