Ruby on Rails Community Forum

Planning upgrade from Rails 3 to 5. How to transition assets from pipeline to webpack gracefully ? Coffee & ES6

1
Rails
Hello, We plan to upgrade a production app from Rails 3 to 5.2. We basically plan to use a mirror app since the production app is untested. Current app is using jquery, coffee and asset pipeline ...
Ernesto Tagwerker replied

Approach/thoughts for longterm settings outside of the database?

0
Rails
Beginner, playing around with Rails 6.0. I would like to allow the admin of a Rails site to change the site for all anonymous users who come to it: Settings like -how many articles per page whil...
sweedledee posted

Setup Ubuntu 14.04 Trusty Tahr Discussion

0
General

Rails & Vue.js Trello Clone - Part 2 Discussion

20
General
Wow a lot to process nice. Will keep a eye on this as I like to move to more frontend stuff. Thank you Chris
Someone replied

Setup Ubuntu 20.10 Groovy Gorilla Discussion

0
General

Using elasticsearch/searchkick to run a search bar via my navbar and show results in a search.html not index.html? ..

0
General
Hello, I just finished going over Chris's two great railscasts dealing with search. However, I wanted to put my search bar on my navbar so that whenever someone searches the results I will be take...
alexsunny posted

Require Work Email Address on Registration Discussion

2
General
Thanks Chris! Pretty straightforward indeed.
Marc Köhlbrugge replied

How to Test and Assert Link text is not on Page with Rails Discussion

1
General
I had to use `assert_select` for this in Rails 6. `assert_selector` wouldn't work.
Abdullah Hashim replied

how to move existing body content to use action text?

9
Rails
I followed the great video Chris did on action text, however, I have an existing data structure and want to move it over to use actiontext for editing the body content. How can i display the old ...
Anthony Lee replied

Vue.js Trello Clone in Rails - Part 5 Discussion

2
General
I will try flexbox instead. It is 2018 =)Maybe something like this https://codepen.io/jaahoo/p...
TBlackford replied

Batching Backgrounds Jobs with Sidekiq Discussion

4
General
Very nice, thanks for sharing.
mrichardsJBOIT replied

Deploy rails project using subdirectories

1
Servers
deploy the existing project with sub-directory without any change in project routes. For example: project should run on https://domain.com/myproject/home instead of https://domain.com/home need to ...
Alexey Poimtsev replied

My html.erb view is not being loaded with style, after ajax submission.

0
Rails
0 I have created a partial that gets rendered on my index page, via AJAX. This works flawless. However when I access the route, that i also want the rendered partial to show up on, it renders wit...
Doctuh posted

error with purgecss and Tailwind 2

3
Javascript
Hey there, I am facing the following problem. In production, purgecss is preventing all all css from `@tailwindcss/forms` from being rendered properly. When I comment out purgecss everything is wor...
Chris Oliver replied

How do I force users to complete their profile after sign up?

1
Rails
I'd like to 'force' users to complete their profiles after having signed up on a Rails monolith app.
Chris Oliver replied

How can I do modeling for items?

0
General
Hello all, Items Category contains general information on that category whether it can be taken on a flight. http://192168101.com/ What I need to here is, if items and the categories are already e...
FrazerRossi posted

How to install TailwindCSS 1.0 with Rails 6 Discussion

15
General
Hey Chirs! Great video, only question I have about using tailwind with rails 6 is the theme config. in the docs it says to place: ``` module.exports = { theme: { container: { cente...
Alex Ventura replied

How to build simple HLS streaming service (without third party service)?

0
General
For some reason, I serve local MP4 videos in Rails ActiveStorage. It works fine. Now I want to change it **from MP4 to HLS, but it seems weird to store many small pieces in ActiveStorage** (It seem...
Henry posted

Search for suggestions from experienced people

3
General
hello , i am working on my graduation project and it will be a web application of management , and i need a system of invoicing (creation - calculation - pdf printing ... )so i am asking if you kn...
alitabarham replied

Stimuls Reflex

0
Rails
Hello Chris, I am trying to do the calculation of a multiplication inside a div, the calculation comes from the values that enter in 3 inputs that are inside a Rails form, I want to do this using ...
Víctor Soto posted

Learning Ruby on Rails? Join our newsletter.

We won't send you spam. Unsubscribe at any time.