Displaying 20 results from an estimated 1000 matches similar to: "validates_uniqueness_of case Sensitive"
2006 Jan 30
4
What is supposed to happen when you run dispatch.fcgi?
I''ve seen a number of posts where someone says, "What happens if you
just run dispatch.fcgi directly?" Every time I do it, I get a "500:
internal server error" message. I was just curious if that''s what''s
expected running it directly. I assume so, because my apps all work
fine, but that''s always bugged me.
Pat
2006 Jan 18
1
Problem with OCI in Apache
My Application runs fine when run on webrick, but throws up database
error when run from apache. this is the copy of the FULL TRACE i get
/usr/local/lib/ruby/site_ruby/1.8/oci8.rb:131:in `create''
/usr/local/lib/ruby/site_ruby/1.8/oci8.rb:131:in `initialize''
/usr/local/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/active_record/connection_adapters/oci_adapter.rb:515:in
2006 Sep 09
3
Per field analyzer
Is there a way to add per-field analyzer? I can''t seem to find a way to do that.
Thanks
--
Kent
---
http://www.datanoise.com
2006 Apr 11
9
Rails failure after upgrade to 1.1.2
Greetings,
I tried upgrading Rails to 1.1.2 and now nothing is really working. In
connection to the Rails upgrade I upgraded my Ruby version to 1.9.0. I
also upgraded all my gem installs.
Since my old rails apps stopped working I tried generating a fresh one
, alas with the same result. Below I included the full trace when
trying to reach the app. Line 3 in application.rb is :
class
2006 Jul 28
8
mass emails
Say we have 20k-50k users signed up for an email newsletter. Does
anyone have any data on how well ActionMailer does with mass emails?
How long would that take to send? Anything I should watch out for?
Thanks,
Joe
2005 Dec 27
4
Using mocks
Hi,
What's the purpose of test/mocks? I couldn't quite complete the Wiki
entry on this because all the information I _could_ find was in the
readme.
- Rowan
--
Morality is usually taught by the immoral.
_______________________________________________
Rails mailing list
Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
http://lists.rubyonrails.org/mailman/listinfo/rails
2005 Dec 12
7
Calling absolute links
I have a primary layout that I''m using in several controllers. On my
sidebar I have a link that I set up as follows:
<div id="sidebar">
<%= link_to("Items", :action => "list") %>
</div>
Everything is ok when I call it from my primary controller, but since I
am also calling the layout from a second controller that does
2008 Jan 16
3
Application generation
Hi All,
Is anyone seeing this?
$ merb merb_paste
/usr/local/lib/ruby/gems/1.8/gems/merb-0.5.2/lib/merb/config.rb:69:in
`parse_args'': uninitialized constant Merb::RELEASE (NameError)
from /usr/local/lib/ruby/1.8/optparse.rb:785:in `initialize''
from /usr/local/lib/ruby/gems/1.8/gems/merb-0.5.2/lib/merb/config.rb:67:in
`new''
from
2006 Mar 22
14
currency conversion webservice in a rails app?
Hi,
I''m interested in using a currency conversion web service in my rails
app. Does anyone have a free service that they use and like? I found
this one
http://www.webservicex.net/WS/WSDetails.aspx?CATID=2&WSID=10
I''ve tried to make a simple, plain Ruby script to connect to this and
get a conversion rate without success.
How do I integrate a webservice into my rails app? I
2006 Mar 28
11
ActionWebService date casting error
I have defined a web service to return information from a database as follows.
class BackendApi < ActionWebService::API::Base
api_method :find_all_vobs,
:returns => [[:int]]
api_method :find_vob_by_id,
:expects => [:int],
:returns => [Vob]
class BackendController < ApplicationController
wsdl_service_name ''Backend''
2006 Feb 14
1
Associating a query with a active record class
Is there a way by which i can associate a complex query with a Model
class without using a VIEW, so that i can access all the names of the
columns returned by the query.
2005 Dec 21
3
How to make a drop-down automatically submit an AJAX form
Hi,
I know that to make a dropdown box automatically submit when you change
the value, you do this:
<select ..... onchange="this.form.submit();">
BUT i''ve got an ajax form, and if i do the above trick, it simply
reloads the ajax partial into the whole screen, rather than into the div
where it is meant to go.
I''ve already got it all working so that if you click
2006 Aug 10
5
Major security vulnerability in the latest Rails 1.1.5
Hi,
I think there is still a major vulnerability exists in the latest Rails 1.1.5.
The problem is in the routing.rb file and safe_load_paths method.
Because of the erroneous regexp it is possible to perform a DOS attack
on any rails application.
To reproduce:
1. start your application
2. use this url: http://localhost:3000/debug
Routing module will load standard debug.rb script which stops a
2006 Feb 03
2
testing to see if emails are sent out on exceptions
Hi,
I''m using ActionController::rescue_action_in_public() to send emails
when uncaught exceptions happen.
Is it possible to write tests for that?
Joe
2006 Feb 07
3
Why would @params[:page] >= 2 give an error?
Can anyone please guide me as to what is wrong with the following?
if @params[:page] >= 2
@title+=@params[:page]
end
Thanks
Frank
---------------------------------
Yahoo! Mail - Helps protect you from nasty viruses.
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2003 Nov 15
3
ctokens vs tokens - HTB.
Hi,
One more of those ...
1) what is a ctoken with regard to HTB? Does the ''c''
stand for ceil and if so how is it different from
tokens?
2) Is the difference, only in the generation of these
tokens?
3) Would the ctokens and token be treated equally once
borrowed?
Kindly help.
Thank you.
Regards,
suraj.
__________________________________
Do you Yahoo!?
Protect your
2005 Dec 11
7
Catching Exceptions in ActionController
I''d like to be able to catch ActionController::MissingTemplate
exceptions from within ActionControlle, *but*, MissingTemplate isn''t
defined within my controllers!!!
How is that possible - after all, all controller subclass
ActionController, so how are exceptions it defines not there!?
More importantly, how can I do this?
--
Posted via http://www.ruby-forum.com/.
2011 Sep 29
1
documenting a behavior of adding named item to a list
Folks,
Per a post to StackOverflow, I'm looking for an opinion on whether something
should be documented:
When adding a named item to a list, its guaranteed that the item will be
added to the end of the list.
SO post:
http://stackoverflow.com/questions/7599349/adding-named-item-to-list-guaranteed-to-append-to-end-of-list/7599610#7599610
This is my first email to r-devel, so I hope this is
2006 Jul 12
11
ruby-debug 0.1.3
Hello Everyone,
I''m pleasant to announce the release of ruby-debug 0.1.3.
If you think that ruby-breakpoint is too limited for your needs and
debug.rb brings your application to its knees, you might find
this small extension useful.
INSTALL
It''s a usual procedure:
$ gem install ruby-debug
DOCS
This library has almost identical interface with the standard debug.rblibrary.
2006 Feb 17
27
deployment server
Hi all,
On theserverside.com there is an article describing an interview with Bruce
Tate, where he calls Java dead like Cobol.
See: http://www.theserverside.com/news/thread.tss?thread_id=39066
However in the comments, some guy comes up with a good point:
He states the following:
<quote>
I couldn''t come up with a viable enterprise quality/grade deployment
platform for RoR. Even