Skip to main content

Vue.js Trello Clone in Rails - Part 8 Discussion

General • Asked by Chris Oliver

This is excellent! Opened my eyes on usefulness of Vue.js. As someone vested in Rails for many years, I would love to see a parallel series on creating the same Trello Board application using React JS. That would be very useful for Rails developers.


would be great to see an episode on how you test all of this through UI


Hey Chris, I'm learning a lot with you. Thanks.
Would be great to see this project handling with multiple boards.


Hi Chris,

Since upgrade to rails 5.1.5, the Rails.ajax call doesnt work anymore. No errors in log, nothing in the console, .. After a regression to 5.1.4 everything is working well, so this behaviour is due to the last rails version but I dont find where (I read the rails-ujs commits but found nothing, ...) 

Does anybody have the same issue ? 
I have the same issue too.

It's working for me. I had to do 
yarn add rails-ujs 
and
import Rails from 'rails-ujs'
 in my pack file
I'm getting the same issue...but only on the editCard method.  The save button is now updating the card name via rails, but it doesn't immediately display in the browser via Vue.  (Only upon refresh is the updated card name shown).  Any ideas Chris?  thanks!


How to delete a list or card?

Thanks.

Great series Chris! Really helped wrap my head around getting Vue to play nice with Rails.

Definitely would love more Vue + Rails tutorials if its in your queue.

Keep up the good work!


any tips on how to deploy this kind of setup ? rails and vue should have a webpacker running alongside it ? or it is not relevant ?
I cant seem to get any data displaying on production env despite having the json in data attribute available

I'm having this problem too with a heroku deploy; anytime I refresh the page the cards disappear dispite the JSON data being rendered.


Chris - an awesome series, as usual! Question: (and I saw this on the active cable video too) when you checked for a logged in user, you dropped down to Warden. Why do this as opposed to just calling the Devise methods like signed_in?

Thx.


That is really awesome! - Can you make a similar tutorial trying to make the same with Stimulus? - or would you not really use Stimulus for something like this?


Really great stuff! going trhough the whole series it really helps to understand the power of vue as well as vuex and how both simplifies the way of dealing with data passing though components. Just want to go deeper into it now.


Login or Create An Account to join the conversation.

Subscribe to the newsletter

Join 22,346+ developers who get early access to new screencasts, articles, guides, updates, and more.

    By clicking this button, you agree to the GoRails Terms of Service and Privacy Policy.

    More of a social being? We're also on Twitter and YouTube.