search for: rsc1

Displaying 2 results from an estimated 2 matches for "rsc1".

Did you mean: rc1
2008 Jul 17
2
problems with validation on STI
...s_to :load end class RscDist < Distribution validates_uniqueness_of :dist_name, :scope => "resource_id" belongs_to :resource end In my unit tests I can''t seem to get a valid object. Here''s my setup: def setup @s1 = simulations(:base) @rsc1 = resources(:rsc1) @d1 = RscDist.new @d1.simulation_id = @s1.id @d1.resource_id = @rsc1.id end and then the test: def test_params_exp @d1.desc = ''exponential'' assert !@d1.valid? @d1.param1 = 14 @d1.dist_name = ''dist1'...
2006 Jun 19
1
script.aculo.us support script loading fails with SiteMesh in FireFox
Hi everyone, I''m new to Script.aculo.us. I''ve searched the archives but haven''t found any info on this so thought I would ask. I have a web app that uses SiteMesh from OpenSymphony. Basically, it''s an outbound page decorator that applies common elements to pages as they head back to the client. I''d like to used the slider control, so