cells
cells copied to clipboard
View components for Ruby and Rails.
We are calling a cell from the controller with a context, and that cell is rendering cells inside of itself passing a context. It appears that the context for the...
I updated cells from 4.1.5 to version 4.1.6. When I run my specs now I get the error `Uninitialized constant Uber::Options (NameError)`. The full stacktrace (anonymized) is found below. Currently...
Just updated both gems and the production env is broken with this message: ``` NoMethodError (undefined method `call' for {}:Uber::Options): # Stack uber (0.1.0) lib/uber/options.rb:25:in `eval' cells (4.1.4) lib/cell/caching.rb:50:in `render_state'...
Have an issue really similar to http://stackoverflow.com/questions/37538519/using-forms-for-with-rails-cells-gem but with erb and rails 3.
## Problem The differentiation between `ViewModel` and `Concept` is not only confusing, the latter also implements some conventions that are not in line with the Trailblazer conventions (which is why...
Hello, During Cucumber tests cell's content is rendered as escaped string http://cl.ly/0I0G0c3k2c0i. Gem versions are: ``` cells (4.0.4) capybara (2.5.0) cucumber (1.3.20) ``` May have relation to https://github.com/apotonick/rspec-cells/issues/21 but this...
During the process of debugging, when I want to check under which context I currently am, I usually write something like `self` in byebug. It is fine in most cases,...
I'm not sure if this is Cells and/or Hamlit, but using a bare Rails 4.2.6 app on Ruby 2.2.3, rendering a simple form tag and submit tag is broken with...
I have a following cell class ``` ruby class PromotionRuleCell < Cell::ViewModel def selector render end def all_subclasses Rails.env.development? ? [ Promotion::Rules::RentTime, Promotion::Rules::RequestTime, Promotion::Rules::RentDuration, Promotion::Rules::TargetCar ] : PromotionRule.subclasses end end...
Changes are tracked across all the files, that contain cell's code - [x] First quick implementation - [ ] Discussion topics decisions - [ ] Refactorings and fixes - [...