similar to: how to remove or change a validation rule after it''s been set?

Displaying 20 results from an estimated 40000 matches similar to: "how to remove or change a validation rule after it''s been set?"

2006 Jan 20
2
what''s the right way to require a file?
I''m having a problem importing a class from another project (not a RoR application). What''s the right way to require such a file? I have a class ModelPathwayObject. It''s in #{RAILS_ROOT}/../lib/model_pathway_object.rb , so I add that path to config.load_paths. In config/environment.rb: Rails::Initializer.run do |config| config.load_paths += %W(
2006 Jan 07
2
app no longer runs - MissingSourceFile for any controller
Hello all. I somehow managed to break my rails app running under Apache 2 with fcgi. With any action I try, it throws an exception saying it can''t find the source file. For instance, requesting an action in my welcome_controller results in: MissingSourceFile in <controller not set>#<action not set> No such file to load -- app/controllers/welcome_controller.rb The log
2006 Apr 10
1
LoginEngine 1.0.1
Hi, The LoginEngine has been updated to 1.0.1. Notable changes: * User model now does very basic email validation * All tests now pass on both Rails 1.0 and 1.1 * Many bugs fixed! Please refer to the Engines documentation for how to update. http://www.rails-engines.org/download The subversion URL for the tag is: http://svn.rails-engines.org/login_engine/tags/rel_1.0.1 = v1.0.1 * Added
2006 Apr 15
3
login_engine database migration broken?
I''m trying to install the login_engine. I installed the engine system and the login_engine, and now I''m trying to migrate the database schema, as detailed here: http://api.rails-engines.org/login_engine/. The commands I''ve tried are: rake engine_migrate ENGINE=login which fails with "Don''t know how to build task
2005 Dec 29
2
has_many & belongs_to with Plugins (login_engine)
Hello list, Probably a newbie question but couldn''t find the answer in the archives. I am using the login_engine Plugin to implement the login functionality. I have a JournalEntry model that interacts with the journal_entries table. I would like to link the journal entries to the user who entered it. Essentially, it is a one to many relationship between the model User(from
2006 Jul 04
3
Engine Not Starting
I''ve used login_engine successfully before with webrick, and now using a provider that uses fcgi. login_engine doesn''t seem to start up, in the development log file, I get only routing errors for the page requested. The login_engine unit tests pass fine. My question is if an engine is not loaded, not in a path, etc, how is this indicated in rails? None of the log files even
2006 Feb 09
4
Login_Engine: trouble configuring
Hi Guys, I''m having some trouble getting login_engine to work. I''ve followed the steps in the README file to the letter (I think) with the exception of the Mailer stuff and cannot get my application to run. Heres what I have; module ApplicationHelper include login_engine end ##################################### require ''login_engine'' class
2005 Dec 02
8
UserEngine: stack level too deep
Hi, I''m trying to get the UserEngine running. I have installed the LoginEngine, added the essential lines to environment.rb / application.rb and application_helper.rb. Worked fine. Then I did the same with the UserEngine and when trying to set up the db: rake engine_migrate ENGINE=user I get: Migrating engine ''user_engine'' rake aborted! stack level too deep But...
2005 Dec 29
2
Login plugin
All- I am new to Ruby; following are my two questions: 1. Which is the best login plugin? I keep hearing about SALT and loginengine. 2. For installing loginengine; I see the two following steps - Both these does not work for me. : $ script/plugin install login_engine ==I am getting "script/plugin is not a internal or external command, operable program or batch file"
2006 Mar 03
1
weird error with login engine
Any ideas what would cause the following exception (using the login engine): -------------------------------------- Full executation backtrace: -------------------------------------- [RAILS_ROOT]/vendor/rails/activerecord/lib/active_record/base.rb:1697:in `execute_callstack_for_multiparameter_attributes'' [RAILS_ROOT]/vendor/rails/activerecord/lib/active_record/base.rb:1677:in
2006 Jan 03
3
Engine and controller layout confusion
Hi all, Installed the login_engine which is working. But I''m confused as to how I tell Rails to use the "/app/views/layout" rhtml files, when partials from the login_engine are used from "/vendor/plugins/login_engine/app/views/user". Do I copy login.rhtml to /app/view/mgmt? (mgmt is a controller name in my app) Along the same line: I also have a nil error on the
2006 Feb 13
2
How can I put the error messages generated by the validation routines into it''s own side frame and how can a click on a error message take me right to the error?
Hello, I''m a newbie, coming from Visual FoxPro - a database centric and object orientated scripting language with a rich set of graphical user interface controlls. Lerning ruby on rails means for me to lern html as well. But now to my problem: The validation errors are listed at the top of the page without any order. Depending on the size of the form and the numbers of errors
2006 Mar 20
3
login_engine
Hello, I''m having trouble getting login_engine to work properly. I get the standard login/registration views, but whenever I try to register I get: NoMethodError in User#signup undefined method `password_confirmation='' for #<User:0x408b2f9c> I have login_engine, and engines installed from cvs: http://opensvn.csie.org/rails_engines/plugins/ anyone else had anything
2006 Apr 19
1
Login_Engine and use_email_notification
I got a problem with the set up of Action Mailer and Login_Engine. I''m actually not able to disable email notification, as I could see in the doc of login_engine it seem that I just need to insert a line in the environement.rb of my application, like that : module LoginEngine # ... other options... config :use_email_notification, false end But I don''t get it
2006 May 15
2
login engine error
Hi everybody, I am new to rails. I get the following error when run the rake engine:migrate for the engine login_engine. ------------------------------------------------------------------------ gbalaji:~/projects/test/vendor/plugins/login_engine gopalbalaji$ rake engine_migrate ENGINE=log --trace (in /Users/gopalbalaji/Projects/test) ** Invoke engine_migrate (first_time) ** Invoke
2012 May 25
1
Bug#674057: Removed package(s) from unstable
We believe that the bug you reported is now fixed; the following package(s) have been removed from unstable: xen-common | 4.1.2-1 | source xen-utils-common | 4.1.2-1 | all ------------------- Reason ------------------- RoQA; obsoleted by xen ---------------------------------------------- Note that the package(s) have simply been removed from the tag database and may (or may not) still be
2006 Mar 06
2
Login Engine Missing Source
Hi! I''m new to Rails and Ruby, so this might be a simple question. I wrote a simple blog-application using Rails 1.0 and installed login_engine to add some authentication mechanisms. After following the installation procedure I get this error when dispatching via FastCGI (ordinary CGI works): MissingSourceFile in <controller not set>#<action not set> no such file to
2005 Dec 29
5
help with installing login_engine
Hello, I did a script/plugin discover then script/plugin engine then script/plugin login_engine The discover worked, but I get engine and login_engine not found. I am using a Mac Thanks Frank
2006 Mar 16
1
login_engine error
Hey All, I have been unsuccessful at getting the login_engine installed. I have used it before but since the last time I''ve used it I can''t get it to work correctly. I was wondering if someone could help out with the following error: undefined method `password_confirmation='' for #<User:0x2aaaad1421a0> Any Help? Thanks, Adam <<<<<<REST OF
2006 Apr 22
0
Remove validation for a property
Hi Does anyone here know a way who I could remove the validation for a model''s property? For example, I would like to have in one file: class A < ActiveRecord::Base validates_uniqueness :title end And in another file I want to override or rather remove the validation: class A < ActiveRecord::Base # somehow stop validating :title for uniqueness end The