Page blinking when using tailwindcss

1
CSS
Hello guys, I am trying to use tailwindcss on a 5.2 ruby on rails application with webpack. Everything is set up and works well according to the video [How to use Tailwind CSS with Rails](https://...
edouard replied
Solved

To use Rails 6 or Not

2
General
Hey Go Rails Fam, I'm starting a new project this weekend and I was wondering should I user Rails 5.2.3 or just start the project with Rails 6.0.0.rc1? Let me know what you think. Cheers Rob
Rob Thomas replied
Solved

Anyone had luck with Active Storage and Cloud Front?

2
General
Hey everyone, I am working on an on demand video site that would (ideally) involve a user uploading a video via rails active storage direct upload to s3, then that video being served up via cloud...
Dalton Cole replied
Solved

What is a elegant way for embedding vue component into rails view template

0
Ruby
Hi, I'm doing this way like as follow in the "***.html.erb" ``` ``` here I'm wondering if I should not vue component tag into the rails template or should I do this way? ``` <%= content_t...
Adrian Uribes posted
Solved

Active Query: object date within the next 30 days.

4
Rails
Hi there, I'm fairly new to programming and rails. I was wondering if someone could help point me in the right direction here. I've created a new date field in Active Record and I'm trying to ite...
Matt replied
Solved

creating multiple input fields in rails

0
Rails
<% (1..18).each do %> <%= input type="number" style="width: 8px" %> <% end %>
lucywilson posted
Solved

How I can use extra params in habtm without so many troubles?

1
Rails
I have a model `Station` ``` class Station &lt; ApplicationRecord validates :name, presence: true has_many :ways has_many :routes, through: :ways has_and_belongs_to_many :tickets def upd...
Jack replied
Solved

How do I structure a Conversation between two models?

6
Rails
I have a `Store` object that has an `email_address` attribute. Using the logic from and [How To Build A Form](https://gorails.com/series/how-to-build-a-forum) and [Handling Inbound Email Parsing wi...
Taylor Cooney replied
Solved

How to fix params require for form_for contact in multi controller view

1
Rails
I have a problem in my contact form_for, I have one contact form and I want to render my contact form in my product view. If I make that I have a problem with my require params My contact_params w...
Anthony BESSON replied
Solved

Have Stripe public key show up

3
Rails
Hi Chris, I went through the master class for Stripe and your DigitalOcean tutorial. Attempting to combine my knowledge. I was able to deploy the app: http://165.22.132.173/pricing As you can se...
Chris Oliver replied
Solved

jquery doesn't work in js.erb file

2
Rails
Hey I'm working on an rails 6 application and try to render an partial in an js.erb file but get this error in the chrome console: &gt; Uncaught TypeError: Cannot read property 'append' of null ...
Steven Torrence replied
Solved

How do I change timezone in Ahoy analitics gem ?

1
Rails
I search a lot but no result
ramzieus replied
Solved

Refactoring controllers to keep them RESTful

3
Rails
Hi gang I have a feature where a user can query the Google Books API with an ISBN number and get the book as a response. I have this all working nicely, but I'd like to refactor my `Books` control...
Nino Rosella replied
Solved

denial of service attack

1
General
What should we do to overcome Denial of service attack?
Chris Oliver replied
Solved

Request for code review

1
Rails
Hello. Can I ask for a little review of my code? I have been a php-developer for a long time. I really want to learn professional programming on rubi / ruby on rails. This is my [class](https://git...
Tabish Iqbal replied
Solved

How do I find a records based on contents of a has_many :through join?

8
Rails
I think I've been at this problem for too long and the obvious answer has evaded me. Say you have students, classes (klass for ruby's sake), and enrollements as the join between them. ```ruby cla...
Peter Marcano replied
Solved

Best way to start a rails project?

5
General
Hi i've been coding with rails selflearning with videos books and so on, (prolly not the best way to do it) but i'm wondering if there are few best practices to follow up. For instance, when i do ...
kriera replied
Solved

encounterd some problems with devise.

2
Ruby
1.when i created a devise model , i saw encrypted_password(column) in schema.rb but in registration form i saw f.input :password ??????? 2.I am getting { PG::NotNullViolation: ERROR: null value in...
sameer replied
Solved

Rails + Javascript question

1
Rails
Hey guys, I have an app for generating orders containg products. I'm currently using a “cart” through table that helps me connect both orders and products. I would like to have a list of product...
pupdogg replied
Solved

How can I improve query time in SQL ? (PostgreSQL)

1
Databases
Hi, I have 4 models: ``` class Match &lt; ApplicationRecord belongs_to :tournament scope :next, -&gt; { where('date &gt; ?', Time.zone.now) } end ``` ``` class Tournament &lt; ApplicationRec...
Boris Bresciani replied
Solved

Want to stay up-to-date with Ruby on Rails?

Join 89,237+ developers who get early access to new tutorials, screencasts, articles, and more.

    We care about the protection of your data. Read our Privacy Policy.