Displaying 20 results from an estimated 3000 matches similar to: "FerretOnRails"
2006 May 17
8
How to implement full-text search with OR just like google?
The current full-text search will return the AND collection results,for
example,if we use Article.search("aa bb"),then the articles that include
"aa" and "bb" in the fields will be returned,how to return the articles
that include "aa" OR "bb" effectly? A stumb method is to setup two
queries respectly and collect them together with remove the
2006 Jan 18
4
Canada on Rails - Schedule Released
We are extremely pleased to announce that we have finalized the schedule
(http://canadaonrails.com/yvr06-schedule.html) for the upcoming Ruby on
Rails conference in Vancouver, BC on April 13th - 14th, 2006.
There are 15 speakers packed into two full days of presentations ranging
from 30 minutes to 90 minute keynotes.
Presentation topics include:
* Where will Rails be riding next?
* Enterprise
2006 Feb 07
4
Ferret on Rails -- Webrick won''t start?
Hello,
I tried using
http://ferret.davebalmain.com/trac/wiki/FerretOnRails
but Webrick won''t start after implementing the plugin?
I tried both versions but to no avail?
All I get is Booting up ... and then it dies?
No info in log/development.log?
Does anyone has a working copy of acts_as_ferret or has any ideas on what''s wrong? I am placing the plugins
2006 Apr 09
16
Rails 1.1.2: A tiny fix for gem dependencies
The new gem version dependency system from Rails 1.1.1 needed a few
tweaks to work properly and to stop throwing meaningless warnings.
This tiny release makes up for that. To install:
* gem install rails
* rake rails:update:configs (to get the latest config/boot.rb)
This release also signals our new commitment to do more tiny releases
from the stable branch, which only gets bug fixes. So it will
2005 Dec 30
6
Unable to get the domain in my routes.rb to map custom route tables per domain
I have tried all night trying to find a way to get the host name which is
currently being used within my routes.rb file to do some case/when switching
for specific domains such as this
cgi = ActionController::CgiRequest.new(CGI.new)
case cgi.domain(1)
when /www/
map.connect '''', :controller => ''public'', :action =>
''index''
when
2006 Feb 28
14
Multiple Models w/ acts_as_ferret
I have multiple models all with:
acts_as_ferret :fields => [...]
(models = profiles, blogs, comments )
When I restart the server and perform any crud operation on one of the
above models, the index is created/updated. If I then go and perform
any crud operation on ANOTHER model, ...the index from that first model
is being updated.
Any ideas? Can acts_as_ferret handle this?
Thanks
2006 Aug 11
9
Getting Really Started with Rails - Tutorial styled Slides Available
For those that missed out joining the amazing turnout of ~70 people here in
Vancouver for the mini-workshop I did on the 27th last month, I am making
available the 30 slides I used for the presentation.
The slides were used in conjunction with me demonstrating it via command
line. Alot was learned by both attendees, and quite possibly even more so by
myself while teaching the material.
I created
2005 Dec 17
6
Lighttpd Restart Script
After quite a bit of searching and coding, I customized an init.d/bash
script which allows me to manage multiple instances of Lighttpd server
running Rails.
It targets the specific PID address instead of the default binary location
when starting and stopping /usr/local/bin/lighttpd process.
This provides the ability in my case to have multiple lighttpd.conf files
running many different instances
2006 Aug 02
4
Model still using mysql
When calling a Result.find_by_content on my model, I get the following
error:
Mysql::Error: Table ''db.results'' doesn''t exist: SHOW FIELDS FROM results
Yes, I remembered to put acts_as_ferret. Any ideas?
Trace:
2006 Jan 02
6
Login_engine - auth against email rather that username?
Hi all,
Short of hacking the code apart, is there a method making the
login_engine authenticate against email address rather than username?
I find that people rarely remember usernames, and would prefer to use
email addresses as the identifier.
Thanks!
Tom
2006 Jan 26
8
switching to edge rails
Hi,
I want to start using has_many :through. I think that eventually I''ll
be removing all uses has_and_belongs_to_many from my project.
Here is my situation
I''m using SVN
I want to use edge rails
Reading the wiki about switching to edge rails[1], I can''t figure out
which combination of subsections I must perform.
Do I want edge rails to reside in the vendor
2006 Aug 18
4
DateBocks v2.0.0 Released
Excert from http://www.nshb.net/datebocks-2-0-0-released
Woohoo!! Finally released the next generation of DateBocks (aka
DateBox) v2.0.0.
This was a long time coming, after its initial version release allll
the way back in January, this is a nice edition to the popular tool I
released before.
This version is chalked full of features. Here is the cut out from the
CHANGELOG
== 2.0.0 - AUGUST 16,
2006 Jan 11
4
[OT] DateInput - Intuitive Date Input Selection
For those who are developing interfaces for entering dates, I recommend
checking out a new package I just stuffed for Date inputs.
You can check out http://datebox.inimit.com/ for a full demo.
-Nb
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Nathaniel S. H. Brown http://nshb.net
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2006 Mar 30
11
Rails 1.1 and Ruby 1.8.3
I''ve seen that Rails 1.1 is not reliable with Ruby 1.8.2 so you should
upgrade to 1.8.4
I''m running ruby 1.8.3. What''s the story with it? Do I need to
upgrade before I try Rails 1.1?
Thanks
Greg
--
Greg Freemyer
The Norcross Group
Forensics for the 21st Century
2006 May 23
13
acts_as_ferret 0.2.1 segfault
Hi,
I just installed via script/plugin from the stable svn tag. (Revision 54)
I''m running Rails 1.1.2 and have Ferret 0.9.3 (with C extensions. no
compilation problems)
I put together a simple model to test it and I''m getting a segfault.
The model:
class Report < ActiveRecord::Base
acts_as_ferret :fields => [:title, :name]
end
$ script/console
Loading development
2006 Jul 31
6
Popup Calendar and DateBoxEngine and Change Made ...
Community,
I have been putting off implementing a Date selector for too long.
Tonight, I finally put it in. I made the choice to go with the datebox
engine.
Once I got it installed and working, I realized I didn''t like the way it
required you to call it. Example:
<% @dateField = model.date %>
<%= date_box %>
or...
<% @dateField1 = model.date %>
<%=
2006 Jun 12
3
RailsConf Ticket
I have a RailsConf ticket available and am looking to sell it, as I won''t be
able to make it out to Chicago as something has come up.
Please email me off-list at nshb@inimit.com
2006 Mar 30
3
Export Fixtures Plugin
= Description
This plugin is a super lightweight tool used to export data into the
test/fixtures directory.
So if you want to export all your data from your production server into your
development environment, this will simplify the process without having to
load up your database manager.
[%] rake db:fixtures:export_all RAILS_ENV=development
[%] rake db:fixtures:load
= INSTALLATION
2009 Mar 07
2
[rspec/tm] When running the textmate bundle hook using command-r I get an error about missing rubygems
I get the following error using both edge version of the TM bundle and
rspec/rspec-rails in vendor/plugins.
/Users/nshb/Library/Application Support/TextMate/Bundles/
RSpec.tmbundle/Support/lib/spec/mate.rb:2:in `require'': No such file
to load -- rubygems (LoadError) from /Users/nshb/Library/Application
Support/TextMate/Bundles/RSpec.tmbundle/Support/lib/spec/mate.rb:2
from
2007 Mar 03
6
Problem with ferret :(
hi, i''m trying ferret and acts_as_ferret, it''s good, but i''ve a little
problem. i''ve a model book which has a title and a quantity, how can i
search using act_as_ferret all books which quantity is > 0 ? and howand
with a search like "book", how can i found also title like "books" ? and
the last, if i search "bok", is it possible