
Security News
Follow-up and Clarification on Recent Malicious Ruby Gems Campaign
A clarification on our recent research investigating 60 malicious Ruby gems.
Get the super fast mysql query results from Ruby and Rails applications.
Love to write queries.
Build queries on your own.
Get super fast results.
Keep everything in mysql.
require 'active_sql'
ActiveSQL::Base.establish_connection(:host=> 'localhost', :username=>'root', :password=> 'peep', :socket=> '') => true
ActiveSQL::Base.connected? => true
ActiveSQL::Base.insert_sql("insert into users values(1, user1@example.com, 12, 12.3)") => true
ActiveSQL::Base.execute_sql("delete from roles") => true
ActiveSQL::Base.select_sql("select * from users") => [[1, 'user1@example.com', 12, 12.3]]
ActiveSQL::Base.select_sql("select * from users").columns => ["id@users", "email@users", "rate@users", "points@users"]
user = ActiveSQL::Base.select_sql("select id, rate as rank from users limit 1").first
# Methods will be added by default.
# Disabling methods possible.
user.id => 1
user.rank => 12
ActiveSQL::Base.my_char_set => "latin1"
ActiveSQL::Base.my_char_set("utf8") => "utf8"
ActiveSQL::Base.my_database("another_database") => true
# Append get methods to every row.
ActiveSQL::Base.add_methods(true) => true
# Do not append methods:
ActiveSQL::Base.add_methods(false) => true
# Status of adding methods to the rows.
ActiveSQL::Base.add_methods? => true
Note: Tentative build compiled by ruby 1.8 - linux.
FAQs
Unknown package
We found that active_sql demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
A clarification on our recent research investigating 60 malicious Ruby gems.
Security News
ESLint now supports parallel linting with a new --concurrency flag, delivering major speed gains and closing a 10-year-old feature request.
Research
/Security News
A malicious Go module posing as an SSH brute forcer exfiltrates stolen credentials to a Telegram bot controlled by a Russian-speaking threat actor.