Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6063475
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T09:10:11+00:00 2026-05-23T09:10:11+00:00

Rails noob here. I am using carrierwave in a rails 3 app so users

  • 0

Rails noob here. I am using carrierwave in a rails 3 app so users can upload a profile picture. I set up a separate model, controller and views (profile_pictures) to handle this. To avoid making errors i use scaffold as a starting point.

route file:

resources :profile_pictures

rake routes:

edit_profile_picture GET    /profile_pictures/:id/edit(.:format)           {:action=>"edit", :controller=>"profile_pictures"}

link to edit.html.erb:

<%= link_to "profile picture", edit_profile_picture_path %>

error:

No route matches {:action=>"edit", :controller=>"profile_pictures"}

Side Note: I am constantly running into problems with routes… its driving me nuts. I’ve found numerous pages regarding conversion of prior routing format to rails 3 routes. Is there a basic tutorial on routes that explains all the nubbies? … preferably in rails 3 format but a prior version is ok if that is all there is.

Thanks!!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T09:10:12+00:00Added an answer on May 23, 2026 at 9:10 am

    Try <%= link_to "profile picture", edit_profile_picture_path(@picture) %>

    Becouse you have a route /profile_pictures/:id/edit, @picture == :id

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Noob here. I have a rails app that has users and postings. I need
Rails 3 noob here. Currently the code in my controller below is getting the
I'm rails noob, and have been confused about sending params from controller to model.
Rails uses the concept of migrations to deal with model changes using the ActiveRecord
This is a noob question: How do I add gems to my rails app
Rails noob here so I'm not sure what I'm doing wrong. We're replacing a
I'm using a select field in a Rails app that is NOT tied to
Rails noob here looking for some advice/direction on something. I have several Pages and
Im a noob on rails. I tried to scaffold a model msg. it works
I'm a Rails noob and I'm following a blog post I found here... I

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.