Nick McNeany

Joined

7,550 Experience
56 Lessons Completed
1 Question Solved

Activity

Posted in New Design!

Chris, I think you nailed it this time! Every time you roll out a new site design, it's better than the previous.

Great job!

Nick

Awesome episode Chris!

Would love to see more on Stimulus!

Absolutely agree!

Chris is the man! Thanks for all the hardwork, I've learned a lot over the last 4 years!

Posted in Symbols vs Strings Discussion

Great episode, Chris! Love the basics/beginner genre!

Posted in Security Hardening Servers with Fail2Ban Discussion

Great epiode Chris! Would love to see more like this!

Posted in New Site Design!

Chris! The new site looks awesome! Great work!

Haha!!!

Makes total sense. Thanks for the quick response Chris! You're the man!

Hey everyone,

Quick question (I hope). I have an application with Devise's out-of-the-box initial set-up. Later, I realized I wanted to include the Trackable functionality so I included it in my model, and uncommented out the Trackable section in the migration file. When I run rails db:migrate nothing happens.

Is this not an acceptable way to do this? Should I run a separate migartion to add the columns I need?

Thanks of the help!

Nick

Awesome! Can't wait to see the next videos!
Thanks, Chris!

I'd love to see more of these. I'm using Hatch and loving it, I just don't think I'm using it to it's full potential.

I think a series of setting up and configuring different features would be cool!


Posted in Building A Hosting Platform in Ruby Discussion

Really cool video, Chris! Thanks for sharing this!

Also, I like the new commenting system. I just finished mine yesterday. Did you use the Ancestry gem for nesting? 

Posted in Layout for Devise with scoped route

Hey Jacob,

Thanks for the help! Unfortunately I still can't get the layout to display. I think I'm just going to move onto plan b for now.

I really appreciate your help!

Nick

Great video Chris! I'm loving this series!

Posted in Layout for Devise with scoped route

Hey Everyone,

I'm trying to use a custom layout for my devise/registrations#edit view. I'm using a scoped route.

devise_scope :member do
        get "/members/:id/settings" => "devise/registrations#edit", as: "edit_member_registration"
end

I call the layout in my registrations controller layout "member_area", only: :edit, but it's not showing.

I have a feeling it has to do with the scoped route. Also, if I take off the only: :edit the layout shows up on the other registration pages as expected.

Anyone have any thoughts on this?

Thanks for any help!

Nick

Posted in Spree commerce vs custom solution from scratch

Awesome, Thanks for the update and resources @Damian!

Another cool idea, would be the ability to update the map with locations near a user based on their location/ip address, either automatically or with a manual reload. I know this is difficult to do in development, but would love to see this.

Awesome episode! Really enjoying the maps and geolocation episodes!

Thanks, Chris!

Posted in Stripe Subscriptions: Duplicate Customers

Haha, I know, right!!!

Actually, in the Stripe Elements screencast you use a form_tag because you're using Rails 5.1.0. You attempt to use the form_with, realize you can't and then move on with the form_tag.

Posted in Stripe Subscriptions: Duplicate Customers

Ummm... No, no I did not have local: true on the form_with.

Man!!! How did I miss that!!!

By default form_with attaches the data-remote attribute submitting the form via an XMLHTTPRequest in the background if an Unobtrusive JavaScript driver, like rails-ujs, is used. See the :local option for more. source: http://edgeapi.rubyonrails.org/classes/ActionView/Helpers/FormHelper.html#method-i-formwith

Thanks, Chris! You really are the man!! Appreciate all your help!!!

Posted in Stripe Subscriptions: Duplicate Customers

Hey Everyone,

Just wanted to give a quick update. So, I was still getting some really weird behavior like, duplicate customers and resubscribing was creating 4 new subscriptions!

I was using a form_with tag for the payment forms. I changed that to a form_tag and now everything is working as expected.

Not sure why the form_with was causing all this disaray, maybe I was using it wrong... I don't know. I do know changing it to a form_tag fixed it.

Has anyone dealt with this before or have any idea what was going on with the form_with helper?

Thanks!

logo Created with Sketch.

Ruby on Rails tutorials, guides, and screencasts for web developers learning Ruby, Rails, Javascript, Turbolinks, Stimulus.js, Vue.js, and more. Icons by Icons8

© 2020 GoRails, LLC. All rights reserved.