#325 invalid
Sam Smoot

Add #export_validations

Reported by Sam Smoot | May 29th, 2008 @ 02:28 PM

Allow for code like the following:

class FileResource
  include DataMapper::Resource
  property :filename, String, :nullable => false
  property :length, Integer, :nullable => false, :numeric => true
  property :content_type, String, :nullable =>false, :format => /(plain\/text|application\/octect-stream)/

class UploadDAO
  attr_accessor :filename, :content_type, :length


Inspired by: http://jaikoo.com/2007/11/18/upl...

Comments and changes to this ticket

  • Jonathan Stott (namelessjon)

    Jonathan Stott (namelessjon) November 30th, 2008 @ 07:43 AM

    • Assigned user changed from “Sam Smoot” to “ssmoot (at gmail)”
    • Tag set to dm-more, suggestion
    • Milestone cleared.
    • State changed from “new” to “open”
  • Dan Kubb (dkubb)

    Dan Kubb (dkubb) December 2nd, 2008 @ 02:54 AM

    • State changed from “open” to “invalid”
    • Assigned user cleared.

    Sam, while I can appreciate that this is a useful addition, I've been trying to reorganize Lighthouse so that it's main purpose is to handle user issues. My goal is to keep Lighthouse lean and trim, and well organized, so that when there are real issues we can respond more effectively.

    I'd rather not use LH as a TODO list if we can help it, as I think there are better choices for that.

    It seems as if most suggestions and features placed into Lighthouse are never acted on, mainly because it's now "filed away" and out of mind. A much better approach would be to mention it on the mailing list and see if someone is interested in taking it on. If an idea is truly valuable it will be implemented by someone relatively quickly or it will keep bubbling up into conversations every few months.

    Closing this ticket for now.

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

People watching this ticket