Posts

Showing posts with the label ruby

#24 Some useful gems list

  Purpose gem Debugging Pry Email test Letter Opener Testing rspec simplecov(check test code coverage) Factory_bot rswag faker environment variables figaro/magic-multiconnection tracking visits ahoy Background job sidekiq Search elasticseacrh deployment capistrano-rails Database pg cache redis serialize json data active_model_serializers login devise scheduler(cron job) rufus-scheduler notify exception via email exception_notification push notification ruby-push-notifications Json Web Token (JWT)  for token based authentication RabbitMQ bunny Security https://github.com/Snorby/snorby puma_worker_killer spring magic_multi_connection allocation_stats puma_worker_killer hyper-rails memory_profiler

#10. positive? method

 3.0.4 :001 > 0.positive?  => false  3.0.4 :002 > 1.positive?  => true  3.0.4 :003 > -1.positive?  => false