Comments (6)
Works :) I can run on this branch for now, but let us know when there's a new cut :)
from maily.
Nice :D Thanks for the quick help!
from maily.
My fault. Caused by an empty hooks declarations
Maily.hooks_for('ApplicationMailer') do |mailer|
end
However, now I have:
employee_id = 1
Maily.hooks_for('ApplicationMailer') do |mailer|
mailer.register_hook(:introduction, employee_id)
end
ActionController::UnfilteredParameters in Maily::Emails#show
Showing /var/www/example.com/vendor/gems/maily-0.6.0/app/views/maily/emails/show.html.erb where line #21 raised:
unable to convert unpermitted parameters to hash
from maily.
Hi @Frexuz, I'll take a look and I'll come back here with more info.
from maily.
Hi again @Frexuz I just pushed a branch (#20) to fix all this stuff. It's not fully ready to cut a new version (will be v0.6.2) but it works for me using your sample app:
Could you please confirm that this works?
gem 'maily', :git => 'https://github.com/markets/maily.git', :branch => 'more_fixes'
from maily.
@Frexuz v0.6.2 pushed 🚀 to RubyGems: https://rubygems.org/gems/maily/versions/0.6.2
from maily.
Related Issues (20)
- Email description - fetch from method comments
- Allow to hide emails
- Capture internal exceptions
- Lazy load hooks
- Engine doesn't render HOT 7
- Breaks if sass-rails is not present HOT 11
- Exception when running the install generator HOT 5
- Edit mail fails with slim as a template engine HOT 7
- Configured available locales not being picked up by maily HOT 3
- Inherited methods dont show on ui HOT 7
- Image as inline attachments not being showed HOT 10
- Email content rendered always as text HOT 4
- error | rails g maily:install HOT 7
- Arrays in arguments of mailer.register_hook is not supported HOT 1
- App fails to boot because Maily expects the asset pipeline to be present HOT 5
- Remove sass and move to plain css HOT 1
- Hide the email form if allow_delivery is false HOT 1
- Notify (via email) template changes to developer
- Allow to add multiple hooks/versions per mail
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from maily.