Displaying 7 results from an estimated 7 matches for "carpeaqua".
2007 Jul 06
5
503 Errors While Cluster Is Still Active
I''ve setup a new mongrel cluster on my VPS, and am noticing a lot if
503 errors if I try to hit the server too many times in succession in
a few seconds. I''ve read that this is usually caused by the cluster
crashing, but I haven''t been seen the cluster crash when I do this.
Does anyone have any other ideas what might cause this? I have my
server configured how
2007 Jul 24
6
Mocking Access Control
...o establish that relationship using stubs. I tried
setting mock_model(User, :roles => mock(Role, :title => "tutor")) but
that didn''t seem to matter.
Anyone able to shed some light on this for me?
Thanks.
--
-
Justin Williams
work: http://secondgearllc.com/
play: http://carpeaqua.com
2005 Dec 15
7
PHP include() Type Functionality in Ruby/Rails
...uby or Rails that I can use so I
don''t have to update excess content in two different locations?
Thanks.
__________________________________________________
Justin Williams justin-2D/i1VWQ6ciB+jHODAdFcQ@public.gmane.org
work: www.maczealots.com play: www.carpeaqua.com
_______________________________________________
Rails mailing list
Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
http://lists.rubyonrails.org/mailman/listinfo/rails
2006 Jan 15
1
Flashing Login Notice To Non Authenticated Users
Greetings,
I''m working with the salted hash login generator. Is there a way to
post a flash message if the user isnt authenticated for a section of my
site and has to login? If so, where should I implement it?
To understand what I am talking about, try and visit a Basecamp page
without being authenticated. It posts a notice flash telling you to
login. If you just directly visit
2007 Feb 27
0
form_remote_for & file uploads
Has anyone successfully gotten Ajax file uploads working using
form_remote_for & attachment_fu? I have seen Sean Treadway''s
responds_to_parent plugin and many other samples available, and they
all seen to statically generate <form> tags. Is there a way to get a
file upload to work using the Rails helpers?
<% form_remote_for(:message, @message, :url =>
2007 Aug 02
0
Overridding readonly attribute in custom form builder
Hi,
I''ve created a custom form builder and overridden text_area so that
all fields are readonly.
There are a few instances that I would want an editable text_area, so
I have tried to create an editable_text_area method.
I have tried passing text_area(method,
options.merge(:readonly=>false)) to the method, but it doesn''t work:
the area is still not editable. Any
2007 Dec 17
1
script/console connection works, but Rails app fails with SQL Server
Greetings,
I have an application that connects to a remote SQL Server database
using DBI/ODBC. If I run the application via the Rails console, I am
able to retrieve data and work with the database just fine. If,
however I try to access it via the Web application itself, I get the
following error:
DBI::DatabaseError (S1000 (0) [unixODBC][FreeTDS][SQL Server]Unable to
connect to data source):