How JustAnswer Works:

  • Ask an Expert
    Experts are full of valuable knowledge and are ready to help with any question. Credentials confirmed by a Fortune 500 verification firm.
  • Get a Professional Answer
    Via email, text message, or notification as you wait on our site.
    Ask follow up questions if you need to.
  • 100% Satisfaction Guarantee
    Rate the answer you receive.

Ask Mr. Gregory White Your Own Question

Mr. Gregory White
Mr. Gregory White, Professor
Category: Homework
Satisfied Customers: 5239
Experience:  M.A., M.S. Education / Educational Administration
46856550
Type Your Homework Question Here...
Mr. Gregory White is online now
A new question is answered every 9 seconds

Display images similar to a simplified Instagram account.

Customer Question

Display images similar to a simplified Instagram account.
Specifications:
Create a Rails project with two scaffolds: User and Photo.
Each user should have a profile, which includes a photo. You decide which fields to include in your photo. You will use these fields when you create a scaffold for the User model
Each photo should have a title, a description, and an owner id. Include other fields in the Photo model if you wish. The Photo model should also have the virtual field :photo as in the PetPhotoUpload Example.
Use a text area for inputting the photo description, because it might be several sentences.
Don't display the Photo description on the Photo index view. You can show the description on the Photo show view and on the User show view where you show all the photos for that user.
Photos are uploaded as in the PetPhotoUpload Example.
Uploaded photos should not be more than about 30K in size. Use Microsoft Paint or Photoshop to reduce your images if necessary.
On the show view for User, display all of the photos for that user formatted in a manner similar to the index page of PetPhotoUpload.
Also on the show view for User, display the count of the photos something like this:
Stan Smith has 45 photos.
On the new and edit views for Photo, show a dropdown box that displays the user's name
The Photo index view should show all of the photos, but reduced in size.
Supply a title and heading for each view, which are set in the controller.
Include links from the User index page to the Photo index page and vice versa.
Submitted: 1 year ago.
Category: Homework
Customer: replied 1 year ago.
The answer can be sent using a Zip Folder.
Expert:  Mr. Gregory White replied 1 year ago.
THIS ANSWER IS LOCKED!

You need to spend $3 to view this post. Add Funds to your account and buy credits.