Displaying 7 results from an estimated 7 matches for "joshuabates".
2006 Mar 23
4
RJS and Form Validation (Best Practice)
Hello All !
I''ve been using RJS extensively, but haven''t done any form validation with
it until now.
Should I be manually passing the RJS template some models error messages
from the controller.... or
... should I be using error_messages_for in order to do the display ?
I''ve implemented the first approach, but it seems like quite a hack.
Any insight would be greatly
2006 Jan 16
1
redirect_to is not working with ajax forms
I''m having trouble using redirect_to in an action called by a
remote_form_tag.
The log shows the redirect, and rendering of the redirected page, but the
browser
won''t redirect. If I set :update in the form_remote_tag, the page that was
supposed
to be redirected to will replace the :update elements content, and crash
FF1.5
Running edge rails, and utf8 encoding
joshua
2006 Jul 02
3
Requested book could not be found
I am trying to find the Capistrano (was Switchtower) book.
Every link to it that I can find points to
http://manuals.rubyonrails.org/read/book/17
...but that gives me the error message that is the subject line of this
post.
Google cache and the wayback didn''t help either.
Is it top secret?
Thanks for any advice,
--
Posted via http://www.ruby-forum.com/.
2006 May 05
1
Is there any working way to search multiple indexes?
I''m running from the trunk, and hitting road blocks no matter which way I
attempt
to search across multiple indexes.
I tried a MultiSearcher, but I can''t pass a string for the search query
ms.search "iraq"
TypeError: wrong argument type String (expected Data)
So I tried creating a QueryParser to pass, but I can''t get the fields from
the reader
2006 Sep 20
5
acts_as_ferret limit on multi_search not working?
I''m using acts_as_ferret to do a query like this:
Model1.multi_search("my query",[Model2,Model3], :limit => 2)
No matter what number i set limit to I get 10 items in the resultset. Am
I doing something wrong?
Thanks/David
--
Posted via http://www.ruby-forum.com/.
2006 May 19
37
OS for rails development: Windows vs. Mac?
Caveat: this is not a discussion about *hosting* a rails app on windows.
Anyway...Macs are everywhere you look when researching rails (demo vids,
tutorials, and pictures from rails training classes). I''m interested in
what the pros to using a Mac for rails development are (besides
textmate). Is it more of a cultural thing, a what would 37 signals do
thing, is it a unix thing, or
2006 Sep 08
0
Passing blocks to a worker
I''m trying to implement a callback system between my controller, and a
worker.
The goal being that I could send to the client via Juggernaut when an action
takes
place in the worker. Something like this.
worker.subscribe :action do
render :update, :juggernaut => "channel" do |page|
....
end
end
There seems to be a couple problems with doing this.
First off, the