Search Results for "i-cant-subscribe"
Lessons
Forum Threads

SEEKING FREELANCER - Javascript configuration
17
Javascript
I have been trying for 4 years and 3 months to try to setup a basic rails app.
I have bought 10+ books, subscribed to this and several ohter subscription services to try to learn the basics of rai...
Melanie replied
Solved

the deleting user is blocked if they have subscribed to forum
1
Rails
We have used the simple_discussion gem in our rails application but the error is caused when the user is destroyed.
```
PG::ForeignKeyViolation: ERROR: update or delete on table "users" violates fo...

How i can add delivery method with slack?
0
Rails
I cant find any tutorial on how to use noticed gem with slack, can anyone please explain for are the steps for slack integration with his gem I'm new to rails and find it hard to integrate this wit...

How do I display several posts in related "weeks"
17
General
I would like to structure my blog so that I can assign posts I have created with Trix and Shrine to weeks.
I want to have 12 teaserboxes on my index page which can then be clicked and if I click o...

How do I use Devise in normal AND API mode
0
Rails
Hi guys,
I want to use Devise for creating users with mobile app via REST API but I also want use it in classic fashion.
So in API I want to return JSON and appropriate HTTP codes. Also I want to i...
Jaroslav Horák posted

How do i add a ":unique => true" to an already existing reference?
2
Rails
I have my DB already set up, and it references another table. I need to add in `:unique => true` so i don't get duplicates. I cant however drop the table and start over as there are items in the...
Félix Landry-Audet replied
Solved

Can someone help with some CSS please
2
General
I am working on a website and i'm trying to change the vertical height of the header of one of my pages. I only want the header of this page to change and not all of the headers across the whole we...
Hans Petter Lie-Nielsen replied

Is there a beginners course?
7
Rails
Hi I've searched but I cant find a beginners to rails course, am I being blind? Thanks

Easy Autocomplete
0
Javascript
Hello everyone I was using easy-autocomplete plugin for my project and its working well thanks to this site but I reilised this plugin can put html tags too and I cant avoid html tags injections. A...
Mehmet Şamil Büyükçağlayan posted

SEEKING FREELANCER - Importing CSV file
13
Rails
I've tried to follow along with Chris' tutorial on importing records from a CSV file.
I cant get the file to upload.
I've posted loads of quesitons on the discussion board for the first video in...
Melanie replied

Hatch login Error
1
General
Hi Chris,
I incorrectly set up Two-factor Authentication (enabled) on my Hatch Box Account , now I cant login.
Please Assist
Chris Oliver replied
Solved

"rails for beginners part 21"
4
Rails
i cant make work user.signed_id, it raises a no_method_error:
irb(main):010:0> user.signed_id
Traceback (most recent call last):
2: from (irb):9
1: from (irb):10:in `rescue in i...
gabriele garretto replied
Solved

Install Ruby 2.3.* in MacOS 11.4 Big Sur M1 TROUBLE!!
0
Ruby
A new Mac:
```
macOS Big Sur 11.4
Apple M1
```
I have a old project, using the ruby 2.3, rails 4.1.8。
but i cant install the ruby in my new mac。
some problem like : openssl 1.1 can't support < ...
ShowLew posted

Need to do cascading select lists in Rails 5
2
Rails
Hi
Struggling with this one....
Quite a few articles around but most quite old, really would like to use Stimulus but I cant find any pointers.
Have a locations Select.
One a selection is made ...
Simon P replied

Use datatables like handsontable
1
General
Hi,
I would love to see a episode that explains the use of json/ajax and load and save back data back to the server. For example i want to use handsontable (http://handsontable.com/) but i cant lo...
Chris Oliver replied

lazy high charts gem
1
Gems / Libraries
Hi there,
I have been tinkering `lazy high gem` trying to get charts up and running, it works well with hard-coded data into the chart but when I try passing data dynamically i cant make some he...
Francisco Quinones replied

Persistent audio via stimulus change audio on click
0
Rails
Hi, I have set up Plyr with stimulus and I have also got the sessions working with application.html.erb so I can have the player on every page in the app via the id params thanks to help here on Re...

Devise Masquerade + Multitenant with act_as_tenant
1
Ruby
I am running a multitenant app with users and administrators scoped to their own account / domain (act_as_tenant).
My use case is the following : I have a superAdmin model who has access to a supe...

Redmine Rails
2
Rails
Hi, i have trouble with ruby ( i dont know any ruby basics but im edititing redmine plugin ).
I prepared method
def getDateForRedmine( startDay, endDay, limit, date )
datetime = Date...
This Guy replied

Database Relationship Structure (has_one and has_many together)
3
Rails
Hey Guys,
So I have a bit of a headscratcher here. I have a rails app which needs two relationships to what is the same table.
Basically, I have a Profile model. On that model I want to have one...