File: user_with_ar.rb

package info (click to toggle)
ruby-validate-url 1.0.2%2Bgit-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, buster, forky, sid, trixie
  • size: 172 kB
  • sloc: ruby: 302; makefile: 4
file content (5 lines) | stat: -rw-r--r-- 106 bytes parent folder | download
1
2
3
4
5
class UserWithAr < ActiveRecord::Base
  self.table_name = "users"

  validates :homepage, :url => true
end