Displaying 15 results from an estimated 15 matches for "acts_as_thread".
Did you mean:
acts_as_threaded
2006 Mar 15
5
acts_as_threaded - help ???
Hi, has anyone successfully used the acts_as_threaded plugin with
postgresql?
I''m using rails 1.0 and ruby 1.8.4 on linux.
Following the screencast on
http://www.railtie.net/articles/2006/02/05/rails-acts_as_threaded-plugin ,
I got to where we''re ready to create our first post, having made the
changes to controllers/posts_control...
2007 Jun 04
2
access to acts_as_threaded
Hi,
I have trouble accessing the acts_as_threaded plugin at
http://railtie.net
looks like the site is down.
Does someone have a copy? or knows an alternative repository for the
plugin?
please you can zip it to to this address georgkam[at]gmail[dot]com
Thanks
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-----...
2006 Feb 06
3
acts_as_threaded plugin
...ate to rebuild the tree, each child insertion only affects the tree
that it is placed in.
It even comes with my first screencast to show how you can build an old
school threaded forum.
Check it out if you need this extended functionality.
http://www.railtie.net/articles/2006/02/05/rails-acts_as_threaded-plugin
It''s certainly possible that acts_as_nested_set can be massaged to provide
this functionality, but I found it quicker and easier to build it myself.
This is a 0.1 version and I haven''t created the unit tests for it yet.
Please send bug reports and feature requests ba...
2006 Jun 22
0
acts_as_threaded with pagination
Does anyone have the magic sql to get pagination working with
acts_as_threaded?
Return like:
1 - parent
1.1 - response
1.1.1 - response to response
1.2 - response
2 - parent
2.1 - response
etc... up to the first 20 or so.
It seems easy to get from a parent to all children, but to say get the first
20 parents and children is really hard for me to get my head around. I...
2006 Jul 14
0
acts_as_nested_set and acts_as_threaded
I''m trying to use acts_as_nested_set, as modifed by Bob Silva to add
threaded functionality. I''m getting the following error:
undefined method `display_threads'' for #<PostController:0x3ae9828>
...
#{RAILS_ROOT}/app/controllers/post_controller.rb:18:in `list''
Line 18 in post_controller.rb shows:
[post_controller.rb]
def list
display_threads @posts
2006 Feb 06
2
acts_as_nested_set
Where can I see the API acts_as_nested_set constructs? I''ve read its
page in api.rubyonrails.com but I don''t see how to manage the tree
from there.
-- fxn
2006 Feb 25
3
Enumerating over a Tree by Depth
I have a model using acts_as_tree which is working fine.
Being new to Ruby I''m don''t know what enumerator is best to use for
traversing a tree by depth. I can write one, but before I do I wanted
to know if there is there an enumerator for traversing trees available
that the community recommends?
Thank you,
Jose
--
Posted via http://www.ruby-forum.com/.
2006 May 12
5
Bumping threads in a forum-type app
I have a forum-type application. The Board model has many comments, the
Comments model acts as a tree. So I have a board with multiple
comments, some comments are parent comments and there are comments that
belong to a parent comment, making up a thread.
Like most forums, I want it so that threads are sorted based on the date
of their last comment. But I have no idea how to specify this in
2006 Jun 20
2
Converting from acts_as_tree to acts_as_nested_set
...'m currently using acts_as_tree to display threaded Comments on my
forums-like site. It''s waaay too slow to display a page with 1,000
comments, as it''s issuing a TON of selects.
I''m pretty sure I want to convert to the nested set model, using
acts_as_nested_set or acts_as_threaded. This should give me the
performance I''m looking for.
The problem, of course, is the adjacency model that is used by
acts_as_tree only has parent_id, it doesn''t have the left/right data
needed by the nested set model.
Has anyone seen or written an algorithm that can process...
2006 Mar 03
5
Message Board?
I''m interested in working on a message board application that uses ruby on
rails.
I''d like to see something end up similar to vBullieten, but with more of a
37signals type of less-is-more philosophy... mostly meaning less need for
preferences and settings and configurations.
I''ve checked rubyforge, and it looks like there are various forum apps
uploaded there, some
2006 Jul 10
0
Strange acts_as_paranoid behavior
Using the acts_as_paranoid plugin with rails 1.1.4 (model also uses
acts_as_threaded and acts_as_taggable) and getting some unexplainable behavior.
The following tests:
assert_equal Conv.count, num
assert_equal Conv.count_with_deleted, CONVS_TOTAL
Produce the following SQL:
SQL (0.000000) SELECT count(*) AS count_all FROM convs WHERE ((
convs.deleted_at IS NULL OR con...
2006 Apr 29
2
counter_caching clobbered when preloading association ?
Hi,
I''m trying to use counter caching in a tree structure (in this case Bob
Silva''s threaded list). This is the definition:
class Folder < ActiveRecord::Base
acts_as_threaded
has_many :files
end
I would like each parent to have the total count of all the childrens
member. So when inserting a new file I update the file_count following
the parent_id through all the folders until I reach root. (Looking into
the db I see the correct values so this seems to work).
B...
2006 Feb 05
1
acts as nested set
...s project.
First, all the documentation I can find restricts a nested_set to one root
node, and a threaded forum would have many roots. Also, without a ton of
fancy sql or an ungodly amount of db calls, it doesn''t track the depth.
Is my understanding of nested sets correct?
I created an acts_as_threaded to get around these "limitations" which
performs well for this scenario, just curious if nested_set could also have
been used if I had a better understanding of it.
Thanks
Bob Silva
http://www.railtie.net/
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 Jun 26
13
Why no forum app in rails yet?
Hi Guys,
So creating a forums application seems like something that rails can
handle easily and well, and whatever implementation that came to
fruition would be head and shoulders above existing products like
vBulliten and phpBB.
Even the existing rails forums are using php-based forum products! An
insult if you ask me.
So my question -- is there any current development of a rails-based