Displaying 20 results from an estimated 30000 matches similar to: "awesome_nested_set help needed"
2012 Oct 04
0
acts_as tree, nested_set, something custom? Which would be best for my situation?
I''m creating a hierarchical tag structure for my portfolio. I have a
few top level tags. those could then have children, those children could
then have children. Pretty standard so far.
Often a child tag will be under more than one parent (i.e. a child might
belong toone or more parents) and it wouldn''t necessarily have the same
children under one parent as it would in another.
2010 May 12
3
Best Gem For Threaded Comment Storage?
Dear List,
Given that I am developing a rails 2.3.5 site,
When it comes to storing threaded comments in a blog or forum,
Then which plugin/gem should be considered "State of the Art"?
I''m starting with these URLs:
http://github.com/rails/acts_as_tree
http://github.com/rails/acts_as_nested_set
http://github.com/collectiveidea/awesome_nested_set
2012 Dec 04
0
Empty test suite is run after every rake task
When I run rake db:migrate or rake -T I get these lines at the end:
Finished in 0.000276 seconds.
0 tests, 0 assertions, 0 failures, 0 errors
My Gemfile is:
source ''http://rubygems.org''
gem ''rack''
gem ''rails'', ''3.0.9''
gem "acl9", ''0.12.0''
gem "fastercsv"#, :version =>
2011 Mar 08
2
Rails - Acts as Nested - Impossible move, target node cannot be inside moved tree.
Hello, I''m using the Awesome Nested Set plugin:
https://github.com/collectiveidea/awesome_nested_set
And in my model I do the following:
acts_as_nested_set
after_save :ensure_max_nestedset_level
private
def ensure_max_nestedset_level
if self.level > 2
self.move_to_child_of(parent.parent)
end
end
I do this to keep the levels from getting
2010 Feb 09
3
acts_as_tree question
Hi,
I''m trying to implement a very simple acts_as_tree search in my index
html.
I am able to show the parents, with no issue, but the children will
not show.
I have something like this for the parent, which displays fine:
<% for group in Group.roots %>
<td>
<tr>
<a href="#" onclick="Effect.BlindDown(''show_<%=
2012 Jun 08
7
filter children with acts_as_tree
Hello Experts,
I have a tree of categories in this category object there is a property
called type.
the root categories have no type but the children have. so how I can get
all the roots with filled in children that have category type = ''B'' for
instance.
I tried to run Category.roots then delete children With a category not
equal to ''B'' but this causes a major
2001 Aug 06
3
Split Ogg Files
I'm sure there are a lot of people who've run into this problem with regard
to ogg files... that is, when recording from live sources you end up with
beautiful, wonderful sounding, brilliant ogg files that might be around 100
Meg for two hours.
Now, if I want to split it into tracks, or remove commercials, what are my
options. With mp3, there are little programs in windows that
2009 Jun 20
0
STI or MTI design ?
I am trying to implement a directory structure (Libraries can contain
other Libraries or Documents)
using the plugin ''awesome_nested_set''
if lfe was simple (only Libraries) it would be over already, but I
don''t see yet how to design the models to handle also Documents in the
tree ..
should I define an Item model, with acts_as_nested_set and have
Library model and
2005 Feb 26
0
It works, and thanks ;)
List,
No, no questions, no complaints. Just compliments to the Samba team.
Samba 3.0.11 (Red Hat RHAS3) running as (one of 5 diverse Linux servers)
PDC for all (75+) wk2000 and XP professional workstations on top of an
1,560+ OpenLDAP 2.2.17 backend at Barlaeus Gymnasium ("gymnasium" means
"sort of high school for over-intelligent pupils whose parents just might
happen to have
2006 Jun 12
1
running BrilliantPhoto - installed fine
I was able to install Brilliant Photo, but when I try to run it I get this:
dotancohen@ety:~/.wine/drive_c/Program Files/Brilliant
Labs/BrilliantPhoto$ wine BrilliantPhoto.exe
fixme:ntdll:TIME_GetTZAsStr Can't match system time zone name "IDT",
bias=-180 and dst=1 to an entry in TZ_INFO. Please add appropriate
entry to TZ_INFO and submit as patch to wine-patches
2006 Feb 24
1
Backup Servers
Hi,
I am using a patch that Jerry wrote that will auto discover any secondary
servers on your network and if the one its joined to dies, it will join
another one. That's fine, I can join and everything works fine, until I
unplug the server im joined to. It takes a few minutes to kill over, and
once its detected that its dead, it swaps over and I get this if I then try
wbinfo -a
2009 Jan 13
0
optional authentication and HTTP Basic
Hi all,
I have an app that originally only supported form-based
authentication, and showed pared-down content to unauthenticated
users. I then layered on HTTP Basic authentication using
authenticate_with_http_basic, which worked fine for scripts like LWP/
wget/curl.
However, some web browsers refuse to submit credentials in the URL
(eg.
2009 Feb 17
8
Converting Acts_As_Tree to Acts_As_Nested_Set
Hello,
I have a tree structure that needs to be converted into a nested set.
A great deal of work has already been done on the tree items, so
maintaining the integrity of the id''s is mandatory. However I need
the ability to access entire branches of the tree, which is what
Nested set does. Does anyone have any suggestions on how to
efficiently transfer the tree to the nested set and
2012 Apr 13
1
[PATCH] libxl/build: print a pretty message if flex/bison are needed but not found
This patchs adds better support for both Flex and Bison, which might be needed
to compile libxl. Now configure script sets BISON and FLEX Makefile vars if
bison and flex are found, but doesn''t complain if they are not found.
Also, added some Makefile soccery to print a nice error message if Bison or Flex
are needed but not found.
Please run autogen after applying this patch.
2005 Oct 31
1
NTLM Problems
Hi,
I am running squid and samba to auth users against a 2003 domain. My squid
setup is something like this:
auth_param ntlm program /usr/local/libexec/squid/ntlm_auth
--helper-protocol=squid-2.5-ntlmssp
auth_param ntlm max_challenge_reuses 0
auth_param ntlm max_challenge_lifetime 2 minutes
auth_param ntlm children 2
auth_param basic program /usr/local/libexec/squid/ntlm_auth
2017 Nov 16
0
Curious: Schema refresh needed 1 != 2
On Thu, 16 Nov 2017 12:55:06 +0200
Ian Coetzee <samba at iancoetzee.za.net> wrote:
> On 16 November 2017 at 10:29, Rowland Penny <rpenny at samba.org> wrote:
> > On Thu, 16 Nov 2017 08:40:01 +0200
> > Ian Coetzee via samba <samba at lists.samba.org> wrote:
> >
> >> Hi Rowland,
> >>
> >> > How did you upgrade ?
> >>
>
2020 Oct 23
0
Sieve_before
> On 22 Oct 2020, at 18:22, Sean Kamath <kamath at moltingpenguin.com> wrote:
>
>
>
>> On Oct 22, 2020, at 15:58, @lbutlr <kremels at kreme.com> wrote:
>>
>> On 22 Oct 2020, at 15:46, @lbutlr <kremels at kreme.com> wrote:
>>> And it doesn't explain why "if address :matches ["To", "Cc"] ["*@*."]
2004 Aug 06
0
ices 0.3 released
On 13 Jul 2003 at 17:53, Brendan Cully wrote:
> On Sunday, 13 July 2003 at 23:24, Stefan Neufeind wrote:
[...]
> I think this is a reasonable suggestion. I now remember that my
> original goal when I started working on ices 0.3 was to get one last
> stable, fairly complete version out the door that worked with current
> Xiph software (libshout 2 and icecast 2). That is, I wanted
2005 Feb 03
6
Newbie: Running an application within wine (installed fine)
I had successfully installed BrilliantPhoto with wine, so that I have
the directory:
file:/home/dotancohen/.wine/c/Program Files/Brilliant Labs/BrilliantPhoto
but when I run the command
wine /home/dotancohen/.wine/c/Program\ Files/Brilliant\
Labs/BrilliantPhoto/BrilliantPhoto.exe
it justs sits there with no output until I ctrl-Z it. Silly me, I even
tried to click the icon in Konqueror to start
2008 Nov 22
1
Acer Aspire Photographer in need of expert help
Ladies and gentlemen
Can someone help me? I have just bought an AS One 120 gig+Linpus Linux as a photo storage device. It is a fabulous machine for the job as the screen is incredibly sharp and the whole deal is better than say the Epson P3000 device.
I use a pair of Canon 400D's and only shoot in Raw. The default image viewer (gThumb??) is fantastic as it does a slide show at the same time