balvig / chili

The spicy feature toggle framework for Rails
http://balvig.github.io/chili/
MIT License
214 stars 8 forks source link

Active Feature #16

Open argerim opened 6 years ago

argerim commented 6 years ago

Hey man

Can u help me ?

Im creating rails g chili:feature bureau

And

Add one view juridical/proposal/show.html.erb in folder lib/chili/bureau_feature/app/views/juridical/proposals/show.html.erb

My class engine i set tu false

module BureauFeature extend Chili::Base active_if { false } # edit this to activate/deactivate feature at runtime end

More keep displaying

I, [2018-05-11T14:03:23.556379 #8206] INFO -- : Rendered lib/chili/bureau_feature/app/views/juridical/proposals/show.html.erb within layouts/juridical/application (230.6ms)

balvig commented 6 years ago

Just to confirm, have you rebooted rails / made sure Spring was restarted?