Open tiagopedras opened 12 years ago
tiago,
this gem is up to date :( but I promise a big code refactor. can you share more info about your enviroment?
thanks.
Sure. I'm running Ruby 1.9.2, Rails 3.2 and my app is using ryanb's nifty scaffolds and layout.
After going through your readme steps it automatically stopped working because of that title error. It couldn't find the method on the helper.
Thanks
@tiagopedras
I'm still investigating the problem. maybe, it's easier to release a new one =/
Hi Lucas
When installing your gem it totally messed up my title method that I had defined in the layout helper (created when generating nifty:scaffold and nifty:layout).
def title(page_title, show_title = true) content_for(:title) { h(page_title.to_s) } @show_title = show_title end
def show_title? @show_title end
def stylesheet(_args) content_for(:head) { stylesheet_link_tag(_args) } end
def javascript(_args) content_for(:head) { javascript_include_tag(_args) } end
It's a simple method and I think that none of my helper methods are now available…