Recommended Gems - share them here :)
Most of my recommendations are performance oritented but I'll be happy to hear about Gems that can help in other domains. 1. PGHero https://github.com/ankane/pghero , great to keep track of your d...
Ohad Dahan postedIntegrating Turbolinks into rails 5 app
Turbolinks has been giving me a world of trouble and there is a lot of randomness with it depending on where I put it in the application.js file. Right now I have this: ``` //= require jquery3 //...
Alex Deering postedHow do I integrate the local_time gem without using the asset pipeline?
If you use the gem, you have to use the asset pipeline for it. This is what I would recommend anwyays. The asset pipeline is perfect for these things. Any reason why you're avoiding using the asset...
Chris Oliver repliedWorking with FullCalendar in Rails
Hello Cris, Excuse my English. I want to know how (rails v-5) work with FullCalendar and simulate an example ?. I have seen several URLs and GitHub, but they all work differently ... Thank you
Mauricio Duran postedAre there any up to date tutorials for jquery-sortable?
Chris , you're creating an N+1 query with your code by calling `find` inside an iterator. I think the logic can change to calling `Takitem.find( @items )` and than use `Active-Import` gem to to a b...
Ohad Dahan replied • SolvedChartkick doesn't load on Heroku?
nm, found the fix. I had to include the chartkick js tags into the header of my application layouts while including my other js files at the very end of the body, to prevent breaking my wysiwyg edi...
Adrian DeGus replied[Hatch Deployment] - Cannot bundle commonmarker due to cmake
Thanks Chris. Worked perfectly! I forgot that Hatch sends an email with the deploy user's sudo password.
Lauro replied • SolvedHow does Searchkick/ElasticSearch impact how I should structure my database indexes?
Matias, Did you ever get an answer to this? I've been wondering about the same things recently.
Mark Doerr repliedEager loading with Gem Mailboxer
Hello everyone, I have a User model which act_as_messageable using the Mailboxer gem. In my users#index view, I would like to add a link for each user to the first user conversation Right now, I ...
Thomas M postedRecurring Select Accepts "Null" As a Valid Rule
this work for me
Francisco Quinones repliedQuestion BEST_IN_PLACE
are you using a frontend framework? like Vue. If so you can do it that way. Or you can use something like : https://www.froala.com/wysiwyg-editor/inline but its paid. Or I think best_in_place gem...
Tabish Iqbal repliedUploading a file from remote url using shrine?
OK, The way to go is using ```shrine``` with the ```remote_url``` plugin which does exactly what I was looking for If anyone cares to see the solution in code, i'll be happy to post it here. Cheers
Roy Zinn replied • SolvedDevise - logging on with something other than email
Interesting, glad you got it! :D
Chris Oliver replied • SolvedWhy do you choose ams (active model serializer) over jbuilder or the other way around? (Rails API)
I'm new to this subject too and this is a good question & answer. Based on what you said, Chris;jBuilder is a lot more manual building out the exact structure of the JSON which makes it a bit h...
Dave Woodall. replied • Solvedwhen use carrierwave to upload mutiple images in one product , the active_admin edit one product page error.
I want to add or upload multiple images in one product, but after I implement this , the active_admin edit product page error. in products_controller.rb, permit the images , which type is json `...
Larry Qu postedMulti tenant best strategy
Wow Aniket, Thanks you so much for the offer. I get the idea, the account / tenant owner are going to be global and then this tenant owner should invite the users to the private section (user mode...
Giancarlo Corzo replied • SolvedAfter adding the activeadmin gem, my previous style changed, How can avoid this?
yes, solved! Thank you ! After I manually require scss files, no longer use `require_tree` it works fine. ``` *= require_self * require_tree . // not used * *= require addresses.scss *= requ...
Larry Qu replied • SolvedSearch all models gem
Like Andrew said, Searchkick is perfect for this. Each model gets an index inside ElasticSearch and then searchkick lets you query over those by simply doing this: https://github.com/ankane/searchk...
Chris Oliver repliedWhats the gem I can use for Tokenize Field?
I am using chosen now.
Mirza Selim Reza replied