Using RoR 2.3.8. Here\'s my controller code: class CitiesController < ApplicationController def show @city = City.find(params[:id])
This is probably pretty basic, but I can\'t seem to figure it out. I have Thinking Sphinx set up and running, but when I go to run my rspec tests, I get an undefined method error:
I\'ve got a many-to-many relationship between ledger and staff and would like to use Thinking-Sphinx (TS) to search ledgers which the current_staff member owns.
I\'m trying to get a geo search to work via an association.Very similar to this fellow: How do I geo-search multiple models with ThinkingSphinx?
I\'m using Rails 3, Thinking-sphinx 2.0.2 and Cucumber 0.10.2. I would like to test my thinking-s开发者_开发技巧phinx search statements in my integration tests using Cucumber, but it seems very slow.
Environment Rails 3.0.4, Ruby 1.8.7, Sphinx 0.99, Dreamhost VPS I have a simple blog search set up as follows:
I would like to know if Heroku supports开发者_StackOverflow Sphinx (and its gem Thinking Sphinx)Looks like Heroku soon will support Sphinx through Flying-SphinxYou would need to launch an ec2 instance
I have an app , using ruby and thinking sphinx . right now each one of my web servers running a local sphinx daemon.
I am putting together a repository-type rails 3 site. I have Thinking Sphinx installed and working on my site, insomuch as I can enter urls like localhost:3000/articles?search=test&page=2 and it w
Assume the following models: class Order < ActiveRecord::Base belongs_to :customer has_many:line_items, :dependent => :destroy