Search Results for "how-do-i-create-an-rspec-double"
Lessons
Forum Threads
GitHub Actions with Ruby on Rails: Setting up Continuous Integration Discussion
19
General
Congratulations on the video was very good, I will try today
Ignacio Alonso replied
How do I find on an object in an api/v1/controller requested spec?
0
Testing
Hi there, this my first question =), am so happy!.... =)
I have a this:
RSpec.describe Api::V1::Controller, type: :request do
describe 'on initialize' do
let(:thing) { FactoryBo...
Diego Mota posted
How do i write a test case using rspec for private method
1
Rails
Hello I,m new to rails
I am writing test cases for using rspec gem
In my controller I have edit function. I have before action for edit function
**This is my controller**
```
before_action :aut...
Kasey Sk replied
Sending emails with Mandrill Discussion
49
General
Excellent tutorial. Congrats.
Stan X replied
Setup Ubuntu 13.04 Raring Ringtail Discussion
66
General
Hi there,when installing ruby using rbenv, at the step of "rbenv install 2.0.0-p195", it shows the results below:Downloading ruby-2.0.0-p195.tar.gz...-> http://ftp.ruby-lang.org/pu...BUILD FAILE...
Someone replied
Looking for Rails work? / Hiring Rails developers?
52
General
Similar to the Hacker News thread, I thought we might start up a thread for anyone looking to hire a Ruby / Rails freelancer or if you're a freelancer looking for work.
*Please lead with either SE...
Import CSV data using RubyZip and Postgresql COP
7
Gems / Libraries
I've checked out the videos on importing data to your rails app. Very timely as I am deep into this feature bringing data from all our legacy systems into my rails app.
My issue is I am importing ...
Chris Oliver replied
How to add Notifications to Rails with Noticed Discussion
36
General
Awesome gem, I had been thinking on how to integrate all types of notification from rails app, from web notification, emails and Push Notifications. I guess Push Notification is just an API call (f...
Alek Yageornba replied
Group Chat with ActionCable: Part 7 Discussion
30
General
Hi! response for the new userundefined method `last_read_at' for nil:NilClass for Chatrooms#show how to solve?
FX replied
Workflow for TDD/BDD on Rails ?
1
Testing
Hi, I'd like some feedback if possible about the workflow of TDD/BDD on a Rails app. I was doing a research the whole weekend trying to find some good examples on how to do porperly TDD on my Rails...
Ideas for building a Wiki in my app
12
General
My users are all internal customers of our business. They are pretty information poor when it comes to our systems and processes and our company intranet is not very feature rich. So I'd like to bu...
shakycode replied
Default Order of Associated Model Collection?
5
Databases
Hey all,
I'm working on a side project where I recently switched from SQLite to Postgres in preparation for deployment.
So, I replaced the `gem sqlite3` with `gem pg` in my Gemfile, ran`bundle i...
Chris Oliver replied
Solved
Sign In With Twitter using Omniauth and the Twitter gem Discussion
37
General
Excellent episode Chris! 2 off-episode questions: why does your version of Chrome have a "People" menu and any chance you'll post this to github?
Someone replied
best way to validate URL
3
Gems / Libraries
Hi Chris!
I've been looking for a good URL validator for a while, but all the solutions I found are kinda weird, so I'm not even sure if I wanna use any.
Here is my usecase: A user can create a p...
Chris Oliver replied
Solved
How do I create an input field for a polymorphic association?
7
Rails
For the sake of this question, lets assume I run a hotel and I want to make a system that manages the bookings of my hotel rooms.
While most of the time I book `Guests` in my hotel rooms, `Employe...
Solved
How do I create an app with Urls like 'https://username.website.com/' instead of 'https://website.com/username/' ?
17
Rails
Hello everyone,
I searched but didn't find anything and was hoping like I said in the title of this subject, to find a way to get the url displaying a user's profile of a client's app to be like u...
Chris Oliver replied
Solved
How do I make my Stripe Charges more robust [Background Worker & Idempotent]?
7
Rails
One thing I don't want to have to deal with are refunds because a customer happened to get charged twice. I want to ensure that I've designed my Rails app to be robust in the face of failure before...
Solved
How do I create an attendance form for student attendance?
9
General
I've been racking my brain and just need to ask for help on the creating this function in my app.
**Scope:** simple app for non-profit for tracking student attendance
What I've done:
* created the...
Solved
How Do I Create an App Where Each User Has A Separate Table
3
Databases
Hi,
I want to create a web app which is a simple HR SaaS. Each user/company which registers will have get a separate table to upload list of employees. In terms of autorization a user/company can ...
Tabish Iqbal replied
Solved
How do I publish an RSS feed from my rails app?
2
Rails
I have a simple blog setup with a posts model. Is there a gem that can publish a feed or should I create thus from scratch?
Stan Smith replied
Solved