[openstreetmap-website] Adding ability to add a website to user profile (#198)
Cristiano Betta
notifications at github.com
Sun Jan 20 20:51:57 GMT 2013
> @@ -0,0 +1,5 @@
> +class AddUrlToUserModel < ActiveRecord::Migration
> + def change
> + add_column :users, :url, :string
If you are going to insist on :string, better make the validator check the length then.
---
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/198/files#r2707918
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20130120/aa92508a/attachment.html>
More information about the rails-dev
mailing list