
Security News
Nx npm Packages Compromised in Supply Chain Attack Weaponizing AI CLI Tools
Malicious Nx npm versions stole secrets and wallet info using AI CLI tools; Socket’s AI scanner detected the supply chain attack and flagged the malware.
A Rails 3+ Engine providing a basic contact form as a Spree Extension.
Modified version of the contact_us
gem to work with Spree.
For more information please see https://github.com/jdutil/contact_us
SpreeContactUs requires:
In your Gemfile
, add the following dependencies:
To install from edge:
gem 'spree_contact_us', :git => 'https://github.com/jdutil/spree_contact_us'
Or install from latest stable version:
gem 'spree_contact_us', '~> 1.1.0'
From Rails.root
run:
$ bundle
$ bundle exec rails g spree_contact_us:install
In config/initializers/spree_contact_us.rb
modify:
config.mailer_to = "contact@please-change-me.com"
Change to the email address you would like to receive the form submissions at for example:
config.mailer_to = "contact@yourdomain.com"
By default the emails from field will be the email entered by the user to easily reply, but this may not be allowed if your required to verify your sending email addresses. You may also specify an email address for the notification emails from field:
config.mailer_from = "dontreply@yourdomain.com"
If you would like to add a name or subject field to the form you may simply set the options to true within the spree_contact_us initializer located at config/initializers/spree_contact_us.rb
:
config.require_name = true
config.require_subject = true
You may also update your locales under config/locales/spree_contact_us.en.yml
or create your own. Please feel free to submit your own locales so that other users will hopefully find this gem more useful.
Visit your website and navigate to /contact-us
to see the form in action.
Please report any bugs or feature requests to the Github issues page @ https://github.com/jdutil/spree_contact_us/issues
In the spirit of free software, everyone is encouraged to help improve this project.
Here are some ways you can contribute:
Be sure to bundle your dependencies and then create a dummy test app for the specs to run against.
$ bundle
$ bundle exec rake test_app
$ bundle exec rspec spec
Copyright (c) 2012 Jeff Dutil, released under the New BSD License.
FAQs
Unknown package
We found that spree_contact_us 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
Malicious Nx npm versions stole secrets and wallet info using AI CLI tools; Socket’s AI scanner detected the supply chain attack and flagged the malware.
Security News
CISA’s 2025 draft SBOM guidance adds new fields like hashes, licenses, and tool metadata to make software inventories more actionable.
Security News
A clarification on our recent research investigating 60 malicious Ruby gems.