Displaying 5 results from an estimated 5 matches for "bitterbal".
Did you mean:
binterval
2007 Jul 28
2
activerecord model constantize question
I have a variable called column with the value of "bla" (column =
"bla")
I have a model call Location where method bla is defined (amongst many
other methods). What I would like to to is to call the method in
Location defined in the variable column.
I tried:
Location.column.constantize
but that gave me an error NoMethod.
I am sure there is a very simple way in Ruby as
2007 Jul 23
1
AAF association not workin
Hi,
I have configured my model as follows:
class Product < ActiveRecord::Base
acts_as_ferret :fields =>
[:description,:label_description,:label_free,:product_id_supplier,:description_supplier,:supplier_description]
belongs_to :supplier
def supplier_description
return "#{self.supplier.description}"
end
In the development log I can see the supplier_description
2007 Jul 25
2
svn down
I tried to checkout AAF from the repository but get:
Fetching external item into ''trunk/vendor/plugins/acts_as_ferret''
svn: Can''t connect to host ''projects.jkraemer.net'': Connection refused
Anyone else experiencing the same ?
--
Posted via http://www.ruby-forum.com/.
2007 Jul 27
2
AAF index updated when record is deleted?
Got it all running nicely now for a few days but noticed something
funny. I have a table were lots of records get added, deleted every day.
I can see the added records being added by AAF to the index but I
notices some "ghost" results when doing searches. The search returns
record ID-s that do not exist anymore because they were deleted.
Does AAF also remove entries from the index when
2007 Jul 25
17
DRb not starting
Hi,
I have my Model as follows:
class Mutation < ActiveRecord::Base
acts_as_ferret ({:fields => {:description=>{},
:product_id=>{:index => :untokenized},
:product_description=>{},
:product_label_description=>{},
:product_label_free=>{},
:product_product_id_supplier=>{},
:product_description_supplier=>{},
:supplier_description=>{},
:pub_date_sort