search for: string_valu

Displaying 5 results from an estimated 5 matches for "string_valu".

Did you mean: string_val
2006 Apr 22
2
Ferret C Indexer Error: Fields not stored in index?
Hello, I am trying to get Ferret''s C indexer to work on OpenSUSE 10 and fastcgi. Indexing documents appears to work correctly but when I try to display the results I recieve the following error: ActionView::TemplateError (undefined method `string_value'' for stored/uncompressed,indexed,tokenized,<title:Revit.jpg>:Ferret::Document::Field) on line #17 of app/views/search/results.rhtml: 14: <%= render :partial => ''basic'' %> 15: <ul class="search"> 16: <% for result in @results 17: text =...
2006 Apr 05
3
Missing Ferret 0.9.0 Field methods
The following instance methods seem to be missing from the Ferret::Document::Field class in Ferret 0.9.0 using compiled C extensions: #string_value, #reader_value and #binary_value. They are in the pure ruby implementation). I got round it by mixing in hacked versions of the pure Ruby methods (@data replaced by self.data). Many thanks for Ferret it''s shaping up to being a killer app for Ruby. -- Posted via http://www.ruby-forum...
2007 Apr 14
0
has_one with reference to the one stored in this object's table?
...I have so far: table generic_objects: id int(11) not null auto_increment primary key type varchar(255) table generic_fields: id int(11) not null auto_increment primary key generic_object_id int(11) not null <-- points to its owner name varchar(255) not null string_value varchar(255) object_value_id int(11) object_value_type varchar(255) class GenericObject < ActiveRecord::Base has_many :generic_fields, :dependent => :destroy end class GenericField < ActiveRecord::Base belongs_to :generic_object end I then have some more magic c...
2007 Mar 29
21
a better "should have valid associations"
This is pretty much the same as last time around, if you recall. Thanks to Wilson for converting to the new form. I''ve added a few lines. Basically, it iterates over your model associations and does two things. - First, just try to call the association. Usually fixes speeling erors or other such silliness. - Second, try to find a record with an :include on the association. This
2006 Jun 15
10
Finding out all terms from search results. How?
Hi everybody, I need to find out all terms (field values) from one of the fields from a set of documents returned by search. In other words, I have indexed documents with two fields. I do search on one field and then want to know all other field''s values from fount documents. How? -- Sergei Serdyuk Red Leaf Software LLC web: http://redleafsoft.com -- Posted via