public
Fork of mbleigh/from_param
Description: Rails plugin that adds a from_param class method to ActiveRecord::Base for simple URL-based fetching.
Homepage: http://mbleigh.lighthouseapp.com/projects/10478-from-param
Clone URL: git://github.com/ffmike/from_param.git
from_param / from_param.gemspec
100644 27 lines (26 sloc) 0.862 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
Gem::Specification.new do |s|
  s.name = "from_param"
  s.version = "1.0.3"
  s.date = "2008-10-21"
  s.summary = "Better convention for finding records based on parameters"
  s.homepage = "http://github.com/mbleigh/from_param/tree/master"
  s.description = "This plugin is an addition to ActiveRecord::Base that establishes a better
convention for finding records based on parameters. It adds a 'from_param' class
method to ActiveRecord::Base as a convention for fetching a model from a URL
parameter."
  s.has_rdoc = true
  s.authors = ["Michael Bleigh"]
  s.files = [
    "MIT-LICENSE",
    "Rakefile",
    "README",
    "init.rb",
    "lib/from_param.rb",
    "lib/string_extensions.rb",
    "rails/init.rb",
    "spec/from_param_spec.rb",
    "spec/schema.rb",
    "spec/spec_helper.rb",
    "spec/string_extensions_spec.rb"
    ]
end