Displaying 20 results from an estimated 90000 matches similar to: "Need help with searchgenerator"
2006 May 22
0
Searchable models
Hi,
I installed rails searchgenerator. When i run ''ruby script/generate
search Search --inspect'' to check the models that are searchable, it
returns none. I''ve about 9 models in my application. Why is none of the
models searchable?
Thanks,
Adi.
--
Posted via http://www.ruby-forum.com/.
2006 Jan 11
0
Partial View with SearchGenerator - HELP.
Has anyone here used the SearchGenerator? I''m having
trouble setting up the "Partial" view, the
documentation makes me think a Partial template is
included, but I don''t see one. I have the search index
and generic view file.
Anyone have the code that is in partial view? Or how
to set it up?
I''d like to have the description of an article come up, with a link
2006 Jun 08
0
Question about searchgenerator
Hi,
I am using the search generator in my application. How do i incorporate
this to the application when i deployed it on a host since i can''t
install simplesearch via gem on the server? I tried unpacking the gem on
my local machine. I got the folder SimpleSearch-0.5.0 and i added it to
the vendor directoy of rails. I also added ''require_gem simplesearch'' to
the
2006 Feb 17
0
SearchGenerator: Results list duplication
Hello all,
I''ve installed the SearchGenerator from here
(http://wiki.rubyonrails.org/rails/pages/SearchGenerator) and have it up
and running perfectly when I only have one field in the make_searchable
list. When I add a second field to the make_searchable list I get some
strange behavior, my results list now displays each result twice.
Has anyone else encountered this issue and if
2006 Jan 30
0
SearchGenerator Question..
I''ll admit I''m fairly new with ruby on rails...but i''m plugging along
quite nicely (in my opinion of course).
I''m using instantrails (on win xp sp2), and took the example cookbook
and modified to to make it my very own!
I''ve successfully added the login generator, and that works quite
nicely (for my needs).
I''m now attempting to add in the
2007 Oct 19
14
Agile Web Development Book, need a bit of help
I''m working my way through the book Agile Web Development with Rails,
and I am in the section where the book has me creating a display_cart
method and the associated view. When I copied the code from the book
into the view, it threw this error. If anyone could give me some hints
where I should be looking I''d appreciate it.
NoMethodError in Store#display_cart
Showing
2007 Jun 27
0
ActiveRecord Type issue -- What am I missing?
Hey everyone,
First, apologies for the crosspost, I meant to post this to this
group, my previous post was a mistake.
I''m having a frustrating ActiveRecord issue. Maybe what I''m trying to
do will not work, but if that''s the case, I''d like to know why.
Otherwise I''d love to know what I''m doing wrong.
My goal is to store prices (numbers with
2007 Aug 23
2
need help trying to debug - included screenshot
I have attached a screen shot of the error I am running into.
I am on page 138 of the Agile Web Development with Rails book by
Pragmatic Programmers.
I am developing the depot store, and I ran into an error, with
hidden_div_if.
When I remove that block of code, things to work fine, besides the fact
the cart does not display on the site, but everything else functions
correctly, so it is
2005 Dec 19
1
New rails site. Beta testers need.
Hi Rails List,
I need some beta testers for my new site: http://www.smarkets.net. This list
is literally the first group to see it, so be gentle.
Smarkets is a prediction market for Amazon products. It takes Amazon
products and turns them into a stock. The price of these "stocks" move based
on the movement of its Amazon sales rank. If the sales rank goes up 10%, the
price of the stock
2006 Dec 14
4
need help rubyonrails/mysql problem
Hi everybody,
I am new in rubyonrails, and I am trying to learn it so I try to
implement tht examples in the agile web developement with rails. I have
stopped when I want to use scaffold. as it is mentionned in the book:
ruby script/generate scaffold Product Admin
but i get an error: it said no such file or directory /tmp/mysql.sock
I have checked my configuration of mysql and i found that mysql
2006 Mar 18
1
Need help .. Rails Recipes, in_place_editor, selecting associations
Hi,
I am currently reading the Rails Recipes book and like the chapter on
providing your own in_place_editor for enumerations / selects.
I understood so far, or I believe that I understood ;-), how to do that
for a field that uses values only, like choosing from "red", "black",
"green". What I fail to understand is how to chose from associated objects?!
2013 Oct 27
0
Launching : New Rails Bootcamp in Dayton, OH -- Need Help
Hey,
I''m building a Developer Bootcamp in Dayton focusing on Rails -- and
wanting to know if any Rails devs might be interested in partnering up --
essentially being an instructor? I''m hoping to run this on a small scale w/
minimal staff - but tuition will be $10k and I''m expecting 15-25 students
per 16 week (overlapping terms) so it could be very profitable.
Our
2006 Apr 16
9
''depot'' app, where''s session?
Many of you probably know the ''depot'' app from the ''Agile Rails
development'' book.
I have constructed the ''products'' model, the Store-controller, and the
''Cart'' and ''Line Item'' classes. I have told Application-controller about
:cart and :line_item:
model :cart
model :line_item
Here''s part of
2006 May 01
4
Storing user setting
Hi,
Where should i store user settings? Well, I have a class called Book and
one of the fields is called status. When a new Book is created, the
status field is assigned a value according to what the user set in the
setting.
So, I will have a form for the user to change the settings of the app
including the initial status of the Book model.
I''m thinking of using a table to store the
2006 Feb 05
3
attr_accessor help understanding
i''m having trouble understanding the attr_accessor and attr_accessible
syntax in models. I''m workink through the Agile book and even a look at
the ruby doc does not really help to clarify.
Thanks aftershock
--
Posted via http://www.ruby-forum.com/.
2006 Aug 10
2
problem - please help
Hi there,
I''m following the ''Agile Web Development with rails'' book and have got
to page 89 - and hit a problem.
I entered into the command line:
ruby script/generate controller store index
The book says you should see something when you point to:
http://localhost:3000/store
but all I get is:
Routing Error
no route found to match "/store/index" with
2006 Mar 31
7
Recommended search library?
I''m at a point where I''d like to start adding search capability to my
app, so I thought I''d ask:
Anyone have any recommendations for a good Rails search
library/plugin/etc? There seem to be quite a few different ones out
there, but I don''t have much context on any of them.
What is the difference between using Ferret, or a SearchGenerator,
SimpleSearch,
2009 Nov 18
2
Composing Data from THREE models with Aggregation
Hello! I''m looking for assistance EXTENDING an example from the Agile
Web Development With Rails book: Composing Data with Aggregation (page
324).
I''m trying to map three columns to a single Ruby object. However,
unlike the example in the Agile Web Development book, the three
columns I want to map into one object come from THREE DIFFERENT
models.
I want to map the following
2006 Mar 09
2
EXTREME Newbie Qestion - Is RoR the right tool?
So, the question for you who are RoR Gurus: is RoR the way to go?
Here''s the challenge...
A community service site (application?) that includes:
* Community Forum
* Blog (kind of - more like an editoral comment section)
* Weather Forecasts by locale
* Road Conditions
* real time weather data
* Searchable, by category & locale, Business Directory
* Live Camera feeds
*
2006 Aug 17
4
Directory Help
I am a newbie to ruby on rails. I am using the pragmatic programmers
agile development with rails book. I am at the beginning, i have
installed MySQL and ruby on rails but the book asks me to "create a
directory". Being a person who has only ever done a basic ruby trial
(at tryruby.hobix.com) and learnt extremely basic HTML is there anyone
out there who can help me and give me