document.write('<link rel="stylesheet" href="http://gist.github.com/stylesheets/gist/embed.css"/>')





document.write('<div id=\"gist-62361\" class=\"gist\">\n  \n  \n    \n            \n\n      <div class=\"gist-file\">\n        <div class=\"gist-data gist-syntax\">\n          \n          \n          \n            <div class=\"gist-highlight\"><pre><div class=\"line\" id=\"LC1\"><span class=\"k\">class<\/span> <span class=\"nc\">User<\/span> <span class=\"o\">&lt;<\/span> <span class=\"no\">ActiveRecord<\/span><span class=\"o\">::<\/span><span class=\"no\">Base<\/span><\/div><div class=\"line\" id=\"LC2\">&nbsp;&nbsp;<span class=\"kp\">include<\/span> <span class=\"no\">Clearance<\/span><span class=\"o\">::<\/span><span class=\"no\">App<\/span><span class=\"o\">::<\/span><span class=\"no\">Models<\/span><span class=\"o\">::<\/span><span class=\"no\">User<\/span><\/div><div class=\"line\" id=\"LC3\">&nbsp;&nbsp;<\/div><div class=\"line\" id=\"LC4\">&nbsp;&nbsp;<span class=\"n\">attr_accessible<\/span> <span class=\"ss\">:username<\/span><\/div><div class=\"line\" id=\"LC5\">&nbsp;&nbsp;<\/div><div class=\"line\" id=\"LC6\">&nbsp;&nbsp;<span class=\"n\">validates_presence_of<\/span> <span class=\"ss\">:username<\/span><\/div><div class=\"line\" id=\"LC7\">&nbsp;&nbsp;<span class=\"n\">validates_uniqueness_of<\/span> <span class=\"ss\">:username<\/span><\/div><div class=\"line\" id=\"LC8\"><span class=\"k\">end<\/span><\/div><\/pre><\/div>\n          \n        <\/div>\n\n        <div class=\"gist-meta\">\n          <a href=\"http://gist.github.com/raw/62361/cbd7d18e72f387ac634d399874748cc15f5a9122/user.rb\" style=\"float:right;\">view raw<\/a>\n          <a href=\"http://gist.github.com/62361#file_user.rb\" style=\"float:right;margin-right:10px;color:#666\">user.rb<\/a>\n          <a href=\"http://gist.github.com/62361\">This Gist<\/a> brought to you by <a href=\"http://github.com\">GitHub<\/a>.\n        <\/div>\n      <\/div>\n    \n  \n<\/div>\n')
