Ruby on Rails Community Forum
ArgumentError: Malformed version number string Yarn v0.1.1 2011 Jesper Kjeldgaard
2
Ruby
I have webpacker gem and yarn gem.. and I'm stuck with this error: (help please :))# console
$ bin/rails webpacker:install
rails aborted!
ArgumentError: Malformed version number string Yarn v0.1.1 ...
huzefa-amura replied
Webpack-cli package 3.3.12 -> 4.1.0 upgrade breaking Webpack
0
General
Running into an issue with package upgrade with Webpack-cli from 3.3.12 to 4.1.0
This breaks my local environment for running the `web-development-server` command.
Lots of info here: https://gith...
Tony Dehnke posted
What are the best ways to visualize data in a Rails application?
1
Rails
I am looking for the best way to build a clean, simple, & reactive interface to visualize data in a postgres database. Do you have any recommendations on tutorials/gems that I can follow or loo...
Mads Obel replied
Scheduled Notifications (recurring email at time of choice, in time zone)
0
Rails
I'm wondering about the best way to approach scheduled notifications.
Having users who set their timezone and pick the best time to receive a regular notification (can be daily or less often), I c...
Arnaud posted
How can i do this?
0
Rails
How do i reduce video size while uploading using active storage Rails 5.2.4.3
Asher Namanya posted
Activity Feed From Scratch Discussion
17
General
Could you post the source code to this?
Chris Oliver replied
Duration of a video in the listing page
5
Site Feedback
Duration of a video in the listing page would be highly useful to select a video to watch.
JP replied
Best Approach for Updating Attributes On Join Table
2
Rails
I have a view (show) that display's an Article. The Article has several Author[s]. The Article and Author models look like this:
Associations:
```
Article Model
has_many author_articles
has_many a...
Mountaindog replied
Rails6 - how to make jquery available in chrome console?
1
Rails
I'm new to rails 6, webpack, etc
It's working for me in my app and jquery is loaded (thanks for the intro @Chris)
However - although jquery works correctly in all my loaded js, I can't use it to e...
Chris Oliver replied
Editable emails templates
5
Rails
Hi there 👋
I need users to be able to edit email templates, something like:
`Hello {{ first_name }},`
Please advice, thanks 👍
Henk Jan replied
Invite using phone number instead of email
0
Rails
I am using devise gem for authenticating users. I modified it a bit to let users signup using a mobile number instead of email id. Which now works as expected.
What I want to do next is inviting us...
kshitijLohbare posted
How do I get the value of an attribute in a model method before submitting
0
Rails
Let's say I have an attribute :year_of_birth for example and another field :age (readonly), I fill in the year_of_birth. And I make a method in a model to calculate the age, how does the age get po...
Samantha O posted
Debugging Questions
1
General
Hello,
I am trying to help out an open source project that I use. I found an issue and the developer has asked me to help debug the javascript but I'm a javascript hack and not sure how to do it.
...
Michael Bradford replied
Running Yarn offline
0
Servers
I have a production server Running Rails 6 (latest version) that is extremely locked down. I don't manage the infrastructure surrounding (firewalls, IPs, etc...) the server. Only a few things are a...
Mountaindog posted
Is Something Wrong With Jumpstart?
11
Gems / Libraries
I've tried to install Jumpstart three times in the last two days and each time all the gems get installed but none of the views or anything else does. When I boot the server it just shows the norma...
Tim replied
Video idea: Dry Monad
1
Ruby
Hi Chris,
Would be nice to watch a video about dry monads.
Lately been using a lot of dry-initializer combined with dry-types, I think you could make series of dry-rb gems.
But I have not yet st...
Chris Oliver replied
Improving the Rails Conductor for Inbound Emails & ActionMailbox Discussion
0
General
Is there a pull request into rails for this we can see?
will posted
Order by score using Pagy pagination?
3
Rails
Hi everyone. I am currently trying to order some ActiveRecord records by score. In my controller i have:
```ruby
def index
@pagy, @drivers = pagy(
Driver.select(
'drivers.*...
Background Jobs
3
Rails
Hey there,
I'm using nested attributes to generate a bunch of records at once. I'm coding a tool that crawls IP and Website Informations.
The nested attributes are set up like this:
-Company
--h...
SweetAlert integration
1
Rails
I was able to intergrate sweetAlert properly(*not using the gem but by including the files manually in vendor *)and overiding the rails defaults as follows in the application.js file=>
```
$....