Search Results for "how-do-it-zoom-photo-insagram-fb"
Lessons
Forum Threads

User Avatars with ActiveStorage Discussion
13
General
Hi Chris, great episode. I posted a question about ActiveStorage but I have not received any response yet. Basically what i want to do is upload images for a has_many_attached directly from a contr...
TilakP3811 replied

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

How do I create hierarchical data with a model?
3
General
I have found and played with awesome_nested_set which is _awesome_ for real. I was wondering if this is the recommended gem for managing tree data in Rails or if there are any others that would do ...
Chris Oliver replied
Solved

How do i generate links like shopify does ****.myshopify.com ?
1
Rails
Hey, guys i wanna know how to generate a unique url foreach user but didn't know how to do it.#Stuck

How do I add a loading spinner and bar like this site?
5
General
I know it's a **turbolinks** feature but I don't know how to make it appear or how to do it, it's pretty nice the way GoRails handles the loading with that spinner and bar, how is it done?
*Thanks...
Enrique Benitez replied
Solved

How do I update value from one scaffold with the value of another scaffold?
2
Databases
I'm doing a project that contains a stock, I first created the stock scaffold like this:
```
rails generate scaffold stock name:string amount:float kind:string
```
And then a stock_flow scaffold ...
Tatiane Stivelman replied
Solved

How do I import a Sass library from within a "node_module" (Rails 5.1)?
11
Rails
Pretty much the question above!
I have a Rails 5.1 app with webpacker installed, and I used npm to install a front end framework:
`npm install bulma --save`
Now that it is inside of `node_module...
Ryan Martin replied
Solved

How do I implement OpenID Connect into my Rails application?
6
Gems / Libraries
Does anyone have experience with implementing OpenID Connect into a Rails app? Specifically the relying party (RP) rather the openid connect provider (OP).
I have investigated a couple different ...
Freibuis replied

How do I display errors messages from devise in the same page?
1
Rails
Hello, Chris!
I have a rails appp, and I'm using Devise (without simple_form).
My registration form is in my homepage, root_path. I followed the tutorial from Devise and I'm able to register users...
sakio replied

How do I calculate a computed value in a model when showing or indexing over that model in its controller?
1
Rails
I'm new to Rails but not new to programming or webdev.
I have a `Student` model that uses a service object to pull data from Google Cloud Firestore for its `level` attribute, an integer. I have ho...
Jordan T-H replied
Solved

How do I access files on server with a cron or similar ? (outside of app)
17
Rails
Hi everyone, i'm a bit new to rails and i'm searching for help.I have a rails app where I receive a zipfile on my server (outside of the app, homedir of new FTP user).Then I want to unzip the files...
Jacob Montgomery replied
Solved

How do I integrate Uppy.io or Dropzone.js into Rails with ActiveStorage?
12
Gems / Libraries
[Uppy](https://uppy.io/) and [Dropzone](https://www.dropzonejs.com/) and popular js libraries that provide rich user experience for file uploads. ActiveStorage supports the integration of such libr...
Ivan Raszl replied
Solved

How do I send params from Rails Ajax to the controller???
5
Rails
I am trying to send all the params from the form into my controller after a promise
my params include :name , :email , :address_line1, :address_city, :address_state, :address_zipcode, :address_cou...
Chris Oliver replied
Solved

How do I Geocode location with either address or Lat / long
2
Rails
I'm building a portfolio app where a user can share all of the locations that they like to work from. A location can be a home, office, coffee shop, park or some random place in the wilderness. Giv...
Chris Oliver replied
Solved

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 submit multiple checked items?
18
Rails
Hi all,
can someone guide me in the right direction please?
Basically i have dynamic options a user can select 1 or many of these items. I thought checkboxes would be good for this.
The user then...
Alan Reid replied
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 process request with parameters
2
Rails
i am new to ruby on rails, just run the examples https://guides.rubyonrails.org/getting_started.html#installing-rails
I just wonder if I want list all the articles with certain string in the title...
mike zenon replied

How do I get the dropdown menu to show the selected after the page refreshes
0
Javascript
Hello ~ I have been trying to figure out how to get the dropdown menu like the one in this forum to show the category after the page refreshes ~ I have been trying to do it using javascript and boo...
JP posted

How do I subscribe action cable receiver to a new stream without resetting the entire channel subscription?
1
General
I have an inbuilt chat service on my application. A signed in user will select another user to start a conversation with them. How can I send stream for this new conversation to the 2 users without...
Nathan Chalot replied