Giter Club home page Giter Club logo

Comments (6)

Frexuz avatar Frexuz commented on June 1, 2024 1

Works :) I can run on this branch for now, but let us know when there's a new cut :)

from maily.

Frexuz avatar Frexuz commented on June 1, 2024 1

Nice :D Thanks for the quick help!

from maily.

Frexuz avatar Frexuz commented on June 1, 2024

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.

markets avatar markets commented on June 1, 2024

Hi @Frexuz, I'll take a look and I'll come back here with more info.

from maily.

markets avatar markets commented on June 1, 2024

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:

screen shot 2017-07-28 at 19 03 31

Could you please confirm that this works?

gem 'maily', :git => 'https://github.com/markets/maily.git', :branch => 'more_fixes'

from maily.

markets avatar markets commented on June 1, 2024

@Frexuz v0.6.2 pushed 🚀 to RubyGems: https://rubygems.org/gems/maily/versions/0.6.2

from maily.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.