search for: find_roots

Displaying 3 results from an estimated 3 matches for "find_roots".

2005 Dec 15
2
Error: [Object]Controller: missing default helper path [controller]_helper
...for the object Event, which at this point is very simple and reads as: class EventController < ApplicationController layout ''standard'' before_filter :authorize # method handle used for handling adding new events to the system def add @locations = Location.find_roots @arts = Art.find_all @event = Event.new( @params[:event] ) @event.user = @session[:user] if @request.post? and @event.save redirect_to :action=>:view, :id=>@event.id else @event.errors.each_full do |msg| logger.error( "error while saving...
2010 Oct 30
0
[PATCH] Use ERR_CAST inlined function instead of ERR_PTR(PTR_ERR(...)) - generated by Coccinelle
This patch was generated using the Coccinelle scripts and btrfs code in v2.6.36-9657-g7a3f8fe. Use ERR_CAST inlined function instead of ERR_PTR(PTR_ERR(...)) The semantic patch that makes this change is available in scripts/coccinelle/api/err_cast.cocci. More information about semantic patching is available at http://coccinelle.lip6.fr/ Signed-off-by: Chris Samuel
2006 May 31
1
Help enhancing acts_as_nested_set
...nt_column]}" end def parent_column() "#{configuration[:parent_column]}" end EOV def find_all self.find(:all, :conditions => "#{left_col_name} > 0", :order => "#{left_col_name} ASC") end def find_roots self.find(:all, :conditions => "#{parent_column} = 0 AND #{left_col_name} > 0", :order => "#{left_col_name} ASC") end def root_count self.find(:all, :conditions => "#{parent_column} = 0 AND #{left_col_name} > 0&quo...