ramonrails
Joined 8/7/2017
ramonrails said over 6 years ago on puma-dev replacement for pow and prax :

I added a small script to manage puma-dev easily. Basically all scripts suggested above, in a bash script.

Here is the gist https://gist.github.com/ramonrails/d7056dd8af8c583f56493903fefbdb0c

Thank you.

PS: Nice video series. Keep going. Open source community is great! I hope my tiny contribution helps.


ramonrails said over 6 years ago on WYSIWYG Editor with Summernote :

Should you also include this in the notes?

class Image < ApplicationRecord # :nodoc:
  attachment :image, type: :image
end



ramonrails said over 6 years ago on WYSIWYG Editor with Summernote :
# config/initializers/refile.rb
Refile.store = Refile::Backend::FileSystem.new(Rails.root.join('public', 'uploads', 'refile_store'))

Maybe this config can be included too in the article. It allows to persist the uploaded attachments properly.

Without this config, the uploads just stay in system tmp or cache folders and eventually get purged.



ramonrails said over 6 years ago on Best threaded comment system for Rails projects :

You may use a combination of

  1. http://guides.rubyonrails.org/association_basics.html#polymorphic-associations
  2. https://github.com/stefankroes/ancestry

for some super awesome threaded hierarchical comments system. Ancestry is optional, just to get some cool queries and filters easily without writing them from scratch.

Hope it helps. Good luck.