lorint / brick

Auto-generate models, views, controllers, and routes in a Rails app based on database structure

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

possible bug?

selamar opened this issue · comments

/usr/local/bundle/gems/brick-1.0.131/lib/brick/frameworks/rails/engine.rb:98: warning: found `= literal' in conditional, should be ==

warning: found `= literal' in conditional

Not a bug -- but also not elegant that it pops that warning!

Will update to use binding#local_variable_set in order to suppress this warning -- expect a release within 24 hours.

BTW -- thank you for testing Brick with .webp images!

Fixed in v1.0.132.

Thanks much for reaching out!

The notice just popped out during the rails server bootstrap

Well then I'm thankful that you are keenly observant!
Depending on what Ruby version you've got, some of those warnings do or don't appear, so this could be why I hadn't seen this yet.

The Rails community is a wonderful place and I hope you have fun with this great ecosystem!