search for: twmill

Displaying 13 results from an estimated 13 matches for "twmill".

Did you mean: twill
2006 Feb 16
1
Acts Plugin Howto''s (Other than the rails wiki)
Anybody know of some plugin howto resources other than the couple on the wiki? Just looking for additional/supplemental info besides code itself. Thanks! -Theo
2006 Feb 19
1
has_many classes
Anybody know how to find out all the class names that a model has specified as "has_many"? I''m hoping there''s some sort of an array I can access.
2006 Feb 21
1
formhelper methods don''t work with render collection partials
I''m rendering a partial using a collection: <%=render(:partial=> ''record'', :collection => @records)%> Inside the partial, I''m attempting to create a new form for each row, generating elements like the following example: <%= text_field "record", "name" %> However, though my objects are fully populated, these form tags
2006 Feb 22
5
Auditing mixin for model classes. Small problem
I want to include common auditing functionality in my models. This involves storing the changes made to a model in a seperate table : I have created the functions in an Audit module : module Audit before_update :before_changes after_update :after_changes def before_changes old=self.class.find(id).attributes @changes=[] attributes.each do |key, val| if val != old[key]
2006 Jan 16
5
Soft Deletes
How would I go about setting up my rails applications to soft delete items from the database rather than actually deleting it. I would imagine that I need to over ride the methods from ActiveRecord. Where would I do this would it be in the model? enviroment.rb? I would imagine that if i wanted it throughout my entire application it would need to be in the enviroment.rb. Also to
2006 Feb 14
5
SSL and domain as account key
Say I have an hosted application which allows the user to use their own domain name (company.com) to access it, and that application must be accessed over SSL, how do you go about our SSL certificate not being registered to their domain. Sure the connection will be safe but the browser will pop up a warning saying the certificate is invalid for this domain. I dont think this problem occur
2006 Jan 15
5
ActiveRecordCache
I believe I heard some talk of an ActiveRecordCache being developed while I was on IRC... however, can''t find the actual project. Anybody know if this is being developed, or where I can find more information on it ? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060115/b47317b2/attachment.html
2006 Feb 01
8
Spring-rich killer: rails rich-client proposal
Hello Doug, I am not disputing anything you say and in fact, spring-rich is "okay" as far as swing development goes. But rails principles adheres to those which we hold near and dear such as "don''t repeat yourself" (note: spring-rich model, glazed lists model, jgoodies models) and "convention over configuration (note: xml config files). Let''s get away
2006 Jan 19
7
Rails or Java J2EE (Spring, Struts Shale) - scalabilty
Hi, normally I am doing all my webprojects with PHP. But now I am planning to use a framework, either Ruby On Rails, or Java in particular J2EE with Java Spring, or Struts Shale. Well, I already tried RoR a few month ago, so I am simply comparing it to the Java alternatives now. My problem is, that maybe using Java for my projects is like using a dredger to grub a small hole :) But on the other
2006 Jan 17
0
Overriding Delete/Destroy in ActiveRecord
Anybody know how I can override delete/destroy in objects that have has_and_belongs_to_many behavior specified? I''m having issues overriding delete for an ActiveRecord object that contains a has_and_belongs_to_many relationship. Delete and destroy are properly overridden for objects that do not have has_and_belongs_to_many relationships specified, but as soon as I add any the overridden
2006 Jan 25
0
acts_as_tree validation on parent.children.create
Validation does not appear to execute on a call to "parent.children.create". Anyone know if this is intentional, or am I doing something wacky? Thanks. -Theo
2006 Jan 29
2
WEBrick not starting
I''m running WinXP and recently upgraded to the most recent version of rails. Unfortunately script/server gives me Booting WEBrick... Then it silently dies without starting. My previous version of rails can still run WEBrick just fine. Anybody seen this? -Theo
2006 Jan 13
7
installing rails in vendor
Does a rails project automatically switch to using a "local" copy of the rails libs if it exists in the vendor directory, or do I need to tweak something else to pick it up? Thanks! -Theo