How to link the liked posts by each user?
Always happy to help. :)Chris Oliver replied • Solved
Spree commerce vs custom solution from scratch
Thank you for the reply @damianlegawiec and all the work your team has put in. Glad to see more momentum behind the spree community and full Rails 5 support.William Gillett replied
Episode Suggestion: Normalization
I've identified a tendency in myself that I feel like, if overcome, would make me a considerably better developer and produce better software. Here I'll try to characterize/analyze it: **Descrip...Chris Zempel posted
[GET] Errors and Locales?
So I'm dealing with an interesting but probably simple issue. Working on some Rails 2 stuff that was written by someone who has long been out of reach so I've been dusting it off on my own. Som...Ja Ku posted
3rd party integration best practices/problems
Hey Chris! I was wondering about the differences of the implementations of complex 3rd party integrations. For instance on the one hand there is segment.io or intercom.io. For these to work you ...Sean M posted
Screencast Request: iOS / Android Adapter Example
I'm basically trying to adopt the "offline first" approach for my mobile app and have decided that it's currently not possible with Turbolinks 5. If you're interested, I had a brief discussion with...Mark Radford replied
Stripe Subscription with Initial setup fee
I know this is old but for anyone on Google: because of the possibility of the customer not paying the subscription fee I think [this](https://stackoverflow.com/a/45941054/1011803) is a better solu...Jake replied • Solved
How do I implement OpenID Connect into my Rails application?
Thanks for the quick response Chris. From what I've gathered online, plain ole OpenID is meant for authentication, OAuth is meant for authorization, and OpenID Connect was built on top of OAuth...Adam Tarantino replied
Muliple has_one's on a polymorphic association
Hmm, I wonder if you need to include the address ID in the form as a hidden field so Rails knows which records to update. If it doesn't have the ID of the nested model, it is just going to create a...Chris Oliver replied
Add a coment in a post ( how can I do)?
I'm coding my personal website , I have a backoffice where I can write blog_post ( title , content , category and date ). I would like to make user comment my blog post without being logged in . ...Federico Calarco posted
If-clause not working
I've created a little tool which pulls a price from another table according to what was sold. This works perfectly fine. However I need to include a discount logic into that. There should be 3 way...Sascha M. posted
Calling function from handling click event issue
Thank you, Chris, it is working! And thank you for pointing me that it is necessary to find out what is JS scopes, which appeared to be very useful information. :)Michael Derzhavets replied • Solved
How to I use Refile as Upload in a polymorphic way? I have managed to use it that way but i am struggling on destroy image after uploading
For delete, I would send the Upload ID to the uploads controller and then just delete that directly. It's simplest that way because you aren't accessing anything through the polymorphic relationshi...Chris Oliver replied • Solved
rails + DB dependent destroy vs cascade delete
Great idea. Might also make sense to include something there on deleted records that use like an `DeletedUser` class or something to display some sort of text instead. Reddit does something like th...Chris Oliver replied • Solved
Updating a genre in a nested association
I figured out how to update it to each anime. I'll show my code below. genre_scrape = doc.css('div#content .borderClass .js-scrollfix-bottom div:contains("Genres")').text.split(' ')[1..-1] ...Wesly Mezarina replied
How can I solve it?
Perfect , I will search how to do that, thank you!Federico Calarco replied • Solved
How do you setup email in your application and link it to a record
Hey Chris. I have been trying to look online but haven't been successful in finding out the following. Say you made a CRM application in Rails and setup a pop3/imap email in the app. How would...Tabish Iqbal posted
How do I include a placeholder for empty notifications
That did it. Thanks Chris!Stan Smith replied • Solved