Nikola Okonesh

Results 5 comments of Nikola Okonesh

Rails 5.1 `undefined method `to_param' for # Did you mean? to_yaml` add .to_i for pictures_controller.rb @pictures = Ckeditor::Paginatable.new(@pictures).page params[:page]**.to_i** also `Invalid single-table inheritance type: Ckeditor::Picture is not a subclass of...

@divagueame ``` // data-controller="comment-reply" import { Controller } from "@hotwired/stimulus" import { useClickOutside } from 'stimulus-use' export default class extends Controller { static targets = [ "form" ] connect() {...

This example nested comments `https://github.com/gorails-screencasts/hotwire-realtime-nested-comments.git` // app/javascript/controllers/comment_reply_controller.js ``` import { Controller } from "stimulus" export default class extends Controller { static targets = [ "form" ] toggle(event) { event.preventDefault() this.formTarget.classList.toggle("d-none")...

@caiotarifa not click... bug