Sign In With Twitter using Omniauth and the Twitter gem Discussion
I got this type of error please give me a way to solve it. https://uploads.disquscdn.c...
Arjun Ghimire repliedI got this type of error please give me a way to solve it. https://uploads.disquscdn.c...
Arjun Ghimire repliedI am currently using rails 6. When I run the Rspec system testing, the API cannot pass data to my index page. Here is my test code: require "rails_helper" require_relative "../support/devi...
Kent postedHow about T&E development? (Trial & Error) lol.
Joe Guerra repliedHas anyone else had any issue with their form not submitting? When Chris gets to creating a new post, for me it just stays on the form partial when I click submit. It's behaving as if the submit hr...
Liam repliedHello! I have issue with uploading files by Capybara Rspec Selenium. Here is more details about it: https://stackoverflow.com/questions/48499129/capybara-upload-images-issue Please help!
Anton Storchak postedHow in the world of all things RSpec would you recreate ```ruby class FakeEnv attr_reader(:user) def initialize(user) @user = user end end ``` With RSpec's DSL?
Matthew Kennedy repliedI just was looking into Turbolinks 5 yesterday and it looks like they've ditched partial replacement because it's sort of trivial gains in comparison to the complexity it adds (their claim) and I k...
Chris Oliver repliedIf anybody is looking for specs in rspec, I've created the same repo and added test cases in rspec => https://github.com/ashish91/todos
Ashish replied@sweedledee there's not a lot of good examples out there! I did a lot of the [Testing Rails series](https://gorails.com/series/testing-ruby-on-rails) in Minitest which is a start. The Rails test su...
Chris Oliver repliedso this is what rspec already does, glad minitest has an option to get there though.
sxlehman-godaddy repliedRails comes with the webdrivers gem now and you should use that now. It makes things a lot easier. In fact, there's nothing you have to setup other than just installing the gem (unless you want to ...
Chris Oliver repliedI think I finally figured it out. Took long enough but I figured I'd share it. ``` class Student < ApplicationRecord has_many :enrollments has_many :klasses, through: :enrollments scope...
Peter Marcano replied • SolvedI found this to be very confusing. As a beginning, I'm not even sure what is going on on the screen. Where did all this code come from? What does it do? Is there a prologe to this course? Something...
Marina Angeli repliedFor anyone using i18n you can do something like this: ``` require "application_system_test_case" class AccountsTest < ApplicationSystemTestCase test "Can register for an account" do visi...
Brian Gilbank repliedYou could do that initially. Although if you want to prevent users from hijacking the URL, you'll also need to protect your controllers by ensuring that the URL `account_id` always matches the `cur...
Andrew Haines repliedAs a note, for devs with PR process, this setup will cause to be n+1 since you'll be triggering runs on any push without considering the branch, a better approach would be to only count pushes to `...
Ignacio Alonso repliedHey Chris, I'm having a play around with this, as it's pretty amazing what it's doing. I have a question about implementing the ActionCable delivery. I can't get the notification channel to deliver...
Alan Kirk replied