I hereby claim:
- I am adarsh on github.
- I am adarsh (https://keybase.io/adarsh) on keybase.
- I have a public key whose fingerprint is 3AD5 8A1F 6013 C3F1 4719 4692 006C 9945 5D4E E5CA
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
class User < ActiveRecord::Base | |
has_one :subscription, dependent: :destroy | |
end | |
class Subscription < ActiveRecord::Base | |
acts_as_paranoid | |
belongs_to :user | |
enum plan: ServicePlans.plan_names |
AllCops: | |
Include: | |
- '**/Rakefile' | |
- '**/config.ru' | |
Exclude: | |
- 'db/**/*' | |
- 'config/**/*' | |
- 'script/**/*' | |
- 'bin/**/*' | |
- 'vendor/bundle/**/*' |
class RubyRefresher | |
def install | |
`brew update && brew upgrade openssl` | |
rubies.each do |version| | |
unless /system/.match(version) | |
`rbenv uninstall #{version}` | |
`rbenv install #{version}` | |
end | |
end |
Run options: include {:locations=>{"./spec/models/user_spec.rb"=>[91]}} | |
F | |
Failures: | |
1) User#expire_token sets the user access_token to EXPIRED | |
Failure/Error: user.expire_token | |
NoMethodError: | |
undefined method `read' for nil:NilClass | |
# /Users/adarsh/.rvm/rubies/ruby-1.9.3-p327/lib/ruby/1.9.1/json/common.rb:300:in `load' |
s/\* \(.*\) \[\(.*\)\](\(http.*\)).*/{\r \"name\": \"\1 \2\",\r \"url\": \"\3\"\r}, |
" Type C-A after some math in insert mode to calculate the result | |
ino <C-A> <C-O>yiW<End>=<C-R>=<C-R>0<CR> |
Adarsh Pandit
developer
[email protected]
@adarshp
OZOOOOOOOOOOOOO
OZOOOOOOOOOOOOOOOOOZO
ZOOOOO__---"""---__OOOOOZ
task :env_checker do | |
unless Rails.env.development? | |
puts "Not in development environment, exiting!" | |
exit 1 | |
end | |
end | |
namespace :app_name do | |
desc 'Anonymize user, company, and location information' | |
task :anonymize => [:environment, :env_checker] do |