SFEley/sinatra-flash

sinatra-contrib

Opened this issue · 8 comments

rkh commented

Would you consider merging this into the sinatra-contrib an option? I really would like to promote it as a sane alternative to the wide-spread rack-flash.

rkh commented

You would of course become a first class team member of that project.

+1

pke commented

+1 good one!

+1

hi,
I have a question when i use the sinatra flash in the padrino.

  • gem file
require 'sinatra-flash', :require=>'sinatra/flash'
  • app.rb
register Sinatra::Flash

but when i use the styled_flash in the haml file, it gives the errors "ArgumentError at / wrong number of arguments."

i wanna konw that how to use sinatra-flash in the padrino with the styled_flash helpers

@ihsu If you have a question not related to this existing issue, you really should open a new issue for it rather than changing the topic mid-issue.

@rkh I'm guessing the original author is no longer willing or able to maintain this gem, which is a shame. Maybe you know someone on the sinatra-contrib team that's willing to take it over and merge it? It is fairly small and useful, afterall.

This guy forked it and made one additional commit comprised of many changes, maybe he's a candidate:

https://github.com/stefanobernardi/sinatra-flash

UPDATE: I just went through the changes, and they're purely aesthetic (changes to the style of the HTML helper).