- Integrate neeto_sso gem
- Drop
organization_neeto_applications
table from client application and remove associated test cases and references throughout the application - Verify organization enabling/disabling API is working for client application
- Verify that favicon when updated in neetoAuth is being updated and in use in the client application as well
- Verify if the user name and profile image urls when updated in neetoAuth is being updated and in use in the client application as well
- Verify if User activation/deactivation is being handled properly, i.e. A concern which blocks access
- Verify User Invitation API
- Make sure profile settings page and organization settings page open correctly. (neetoForm has done this correctly)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'active_record' | |
ActiveRecord::Base.logger = Logger.new(STDERR) | |
ActiveRecord::Base.colorize_logging = false | |
ActiveRecord::Base.establish_connection( | |
:adapter => "sqlite3", | |
:dbfile => ":memory:" | |
) |
sudo -u postgres psql
postgres=# create database mydb;
postgres=# create user myuser with encrypted password 'mypass';
postgres=# grant all privileges on database mydb to myuser;
Alternatively, in the Amazon interface, you can select a directory or file, and click on the action "Mark as public"
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Rake::Task["assets:precompile"].clear | |
namespace :assets do | |
task 'precompile' do | |
puts "Not pre-compiling assets..." | |
end | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ControlMaster auto | |
ControlPath /tmp/%r@%h:%p | |
ControlPersist yes |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add the gem "twitter" to Gemfile. | |
client = Twitter::Client.new( | |
:consumer_key => "key", | |
:consumer_secret => "secret", | |
) | |
[8] pry(main) client.users("unnitallman")[0].id | |
=> 11976602 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
secret = "a_big_secret" | |
#expects S3 credentials in congif/aws.yml | |
s3 = AWS::S3.new | |
i = 0 | |
source = 'source_bucket_name' | |
target = 'target_bucket_name' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# see http://stackoverflow.com/questions/5880962/how-to-destroy-jobs-enqueued-by-resque-workers - old version | |
# see https://github.com/defunkt/resque/issues/49 | |
# see http://redis.io/commands - new commands | |
namespace :resque do | |
desc "Clear pending tasks" | |
task :clear => :environment do | |
queues = Resque.queues | |
queues.each do |queue_name| | |
puts "Clearing #{queue_name}..." |
NewerOlder