Hazel

Results 15 comments of Hazel

Hi. I'm dealing the same issue. For now, I've dealt with it in a helper method: ``` def count_views(video) if video.views > 0 return video.views + video.impressionist_count else return video.impressionist_count...

Actually I found a way to add a counter cache. Generate a migration: ``` class AddCounterCacheToVideos < ActiveRecord::Migration def change add_column :videos, :impressions_count, :integer, default: 0 end end ``` and...

I think that's a great idea. I was pair-programming earlier today and we were focusing on this problem. My pair suggested writing a background task to grab the impressions_count every...

https://github.com/OSC/ondemand/compare/master...3462-data-hide-radio-buttons Fix that needs refactored It also does not account for when the data-hide field is a check box.

It also breaks pretty much every other dynamic form option available. Putting this down for the time being since it's not a huge priority.

I may (will more than likely) have more questions on this, but for now - the intention here is to set an attribute that's a list of variables (so I'm...

Thanks! I've been doing some research. I was wondering if you could point me to any good examples of gems that allow for integration with either Rspec or Minitest? I'd...

Hi Coraline, I've been working on this for a few days and have finally come up with what I think is a viable solution. However, I've run up against a...

That's great. Thanks for doing that!

Can this be closed?