similar to: Remove validation for a property

Displaying 20 results from an estimated 10000 matches similar to: "Remove validation for a property"

2006 Jan 14
12
Dedicated Host Recommendations?
I currently have a dedicated server at ev1servers, but it''s getting rather antiquated (Redhat 9) and am looking to upgrade. I''m thinking about serverbeach.com - one of their CentOS servers. Anybody have any recommendations for dedicated servers on which to run Rails? Hopefully less than $200/month. Thanks! CSN __________________________________________________ Do You Yahoo!?
2006 Feb 27
2
Publishing a Plugin via ./script/plugin
Hi How do I publish a plugin so I can download it via ./script/plugin. I''ve put my plugin (ActiveRBAC) on http://wiki.rubyonrails.com/rails/ pages/Plugins but seemingly ./script/plugin discover does not find it :/ Even if I do ./script/plugin source \ https://activerbac.turingstudio.com/source/active_rbac/trunk/ active_rbac it does not appear on ./script/plugin list.
2007 May 24
1
Logging Exceptions
Hi, I am using Mongrel with my own XmlRpcHandler and I get sporadic "500" errors from Mongrel. The handler wraps around the xmlrpc/server module and I am pretty sure that the error is mine and neither in mongrel or xmlrpc/server. I catch all exceptions in my xmlrpc/server handler and do not send out 500 http answers from there. Thus, I expect the problem is in my handler.
2006 Apr 22
5
ActiveRBAC 0.3.1 Released
Hi I am happy to announce the 0.3.1 release of ActiveRBAC Engine. The biggest improvement on the 0.3 release is that it runs with Rails 1.1 now. Get your personal copy now from https://activerbac.turingstudio.com/releases :) There is a manual PDF with a tutorial available at https://activerbac.turingstudio.com/releases/ActiveRbacManual.pdf which is also included in the full
2006 Mar 03
19
Dreamhost rating?
Hi, I''m looking at getting some hosting to support RoR development. Thus, how would you rate Dream Host? Thanks in advance, -Conrad -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060303/91b84488/attachment.html
2005 Sep 27
5
Am I misunderstanding "require_dependency"?
Hi From what I understand about documentation about require_dependency, this function will work like require but the file will be reloaded on every request to the server when in development mode. I have bootstrapped am minimal RoR project with 0.13.1 Rails. I have created a minimal Controller and hooked up it''s "index" action at the site root. I have also created a
2006 Apr 27
0
DRY validation
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi all, A few months ago someone posted a message about specifying validates_* constraints on a per-attribute basis. I just created a small plugin that allows you to do this. Here''s an example from one of my models: class Country < ActiveRecord::Base attribute :name, :string do |a| a.validates_length :within =>
2006 Jun 19
2
fuzzy search
This may be offtopic to Rails, but what are people doing to find records based on fuzzy string matches? For example, if you wanted to find a Person with name "David Heinemeier Hansson" but searched using the string "Dave Hansson". Currently I am find_by_sql that calls the PostgreSQL function "levenshtein(string1, string2)" which returns results with a score
2011 Dec 31
0
[PATCH] i.d.s/openvpn: support 'remote-cert-tls (server|client)'
From: Simon Deziel <simon.deziel at gmail.com> Fixes LP: #806537 Signed-off-by: Simon Deziel <simon.deziel at gmail.com> --- rulefiles/linux/ignore.d.server/openvpn | 7 ++++++- 1 files changed, 6 insertions(+), 1 deletions(-) diff --git a/rulefiles/linux/ignore.d.server/openvpn b/rulefiles/linux/ignore.d.server/openvpn index 2b4bfd6..d80f42f 100644 ---
2005 Jul 26
3
Generating unique random tokens for ActiveRecord objects
I have an ActiveRecord subclass that needs to generate a random (hard to guess) token for each record in its corresponding table. Currently I''m doing something like this: def before_create self[''token''] = random_value while self.class.find_by_token(self[''token'']) self[''token''] = random_value
2006 Apr 11
0
habtm and :uniq
Hi I wonder what the state of this ticket is: http://dev.rubyonrails.org/ticket/2019 Does anyone have information regarding whether there are plans to fix this behaviour? It seems strange to me to force uniqueness in Ruby (i.e. application code) but not in the database. For example, in activerecord/lib/active_record/associations/ has_and_belongs_to_many_association.rb there is a line
2006 Mar 27
2
dispatch.fcgi hanging after lighttpd shutdown
Hi. I''m using RoR 1.0 with FastCGI and lighttpd on a Debian 3.1 box. I have configured lighttpd to do adaptive spawning of the FastCGI processes. However, after shutting down lighttpd the FastCGI processes remain running. Did this problem occur to anyone of you? Is there a fix? I''d be really grateful for every answer. Regards, Manuel Holtgrewe
2007 Jan 01
5
Validations based on associations
My model is very simple, it''s mostly just a join table that represents which tournaments a user has registered for. class Registration < ActiveRecord::Base belongs_to :user belongs_to :tournament validates_presence_of :user_id, :tournament_id validates_uniqueness_of :user_id, :scope => :tournament_id end the validates_uniqueness checks to make sure there''s no
2006 Apr 11
4
Managing "application scope" data - best practices
All, I have some data that I need to be able to see across the application. For J2EE people out there, I need something that I want to have available in the "application scope" of my app. What is the best way to handle this? I''m trying to access a class variable that I created in my controller from my view (to no avail). Create a class variable in my helper class and use
2006 Feb 23
20
ActiveRbac 0.3 release - We''re now on Engines
Hi I have just released the 0.3 revision of ActiveRecord - make sure to get the fresh, hot packages from https://activerbac.turingstudio.com/releases What is ActiveRBAC? ------------------- ActiveRBAC is a Ruby on Rails library that provides a full stack RBAC (Role Based Authorization) system with user, group, role and permission management. It provides models and controllers to edit
2017 Jun 08
1
[PATCH] lib: create: Allow any [[:alnum:]]+ string as a backingfmt parameter.
If you use the libguestfs tools which open disk images read-only (eg. virt-df), with formats such as 'vdi', then you will see an error: error: invalid value for backingformat parameter 'vdi' This is because opening a disk image read-only will try to create a qcow2 file with the original image as a backing file. However the list of permitted backing formats was very restrictive
2006 Dec 19
0
Bug#403758: Logcheck rules for Snort
Package: logcheck-database Hey, I created a logcheck ignore file for Snort with stuff I don't particularly want to see every day. The one line with the warning in it is questionable, so leave it in or out at your discretion. Also, my regex skills are not as good as they could be, so there are probably mistakes, or things that could be simplified more. Rules are below: ^\w{3} [
2004 Jun 21
2
Bug#255560: logcheck-database: More Postfix rules
Package: logcheck-database Version: 1.2.22a Severity: normal Thanks to the upgrade to Postfix 2.1 and deploying a newer logcheck ruleset on a busier server I've found a bunch more rules for Postfix. I've attached new rules files and patches are inline. The following patch is for violations.ignore.d: --- logcheck-postfix.orig 2004-06-21 20:11:14.000000000 +0100 +++ logcheck-postfix
2008 Jan 24
0
[PATCH] Re-enabled :port portion of "UDPv4 link" openvpn rule
I see that this openvpn rule has been modified to no longer attach the ":port" part to "[undef]" -- probably to reflect a recent change in openvpn. Unfortunately, the rule no longer matches in etch, thus breaking the backport. Here's a patch to match both versions. Signed-off-by: Fr?d?ric Bri?re <fbriere at fbriere.net> --- rulefiles/linux/ignore.d.server/openvpn
2018 Dec 26
1
Issue when building R-parched_2018-12-26
Hello. Building R-patched from source on Win64 using current Rtools 3.5.0.4, I?m getting the following notes indicating an extra left brace somewhere; or is the problem on my end? My installed Perl is Strawberry 5.28.0.1-64 bit. Thank you, Avi (Sent from an iPhone, so my apologies if HTML also comes through) ------ Making HTML documentation ------ creating doc/manual/version.texi creating