Closed

Website bug in Ruby on Rails

THE PROBLEM

I need to solve a bug with my website [url removed, login to view]

Right now the application shows best images of today, yesterday and 3 days before:

"@firstday = 0

if params[:page].blank?

@images[0] = Image.top_of_day(@firstday).limit(MAX_IMAGES).all.to_a

@images[1] = Image.top_of_day(@firstday + 1).limit(MAX_IMAGES).all.to_a

@images[2] = Image.top_of_day(@firstday + 2).limit(MAX_IMAGES).all.to_a

else

@images = Image.top_of_day(@firstday + @page).limit(MAX_IMAGES).all.to_a

end"

So:

-If I don't upload images in 3 days that reached a popular status then the index just show an empty page.

-The idea of the application is being able to scroll down and seeing galleries until the first day images were uploaded. Nevertheless when I skip a day uploading images then I can only scroll untill reaching that day (I can not continue to scroll down and see previous days popular images)

-The same problem described above also happens with the mini-gallery [url removed, login to view] If skip a day then I can only browse in the mini-gallery to the day skipped (the idea with the minigallery is also to being able to browse it continually until the first image ever uploaded that reached popularity)

THE SOLUTION I EXPECT

-The index always shows the three galleries of the last days images were uploaded and reached popularity (ex. If users only upload images three times in a year show those three days popular images)

-Users always being able to scroll down and see images of past days until the reaching the first day the application started (even if in various days images are not uploaded)

--Users always being able browse mini-gallery and see previous images until reaching the first image to reach popularity ever (even if in various days images are not uploaded)

Skills: Ruby on Rails

See more: solution reach, ruby on rails last, gy, rails page, ruby rails upload images, ruby rails image, ruby rails application, rails solution, upload image rails, rails image upload, blank images, ruby rails real estate website, image gallery scroll, ruby upload, ruby rails price comparison website, rails upload image, past days status, move html website rails ruby, bug day, browse page image problem, website images scroll, scroll jpg image, scroll image right website, gallery problem uploading, rails upload limit

About the Employer:
( 0 reviews ) Bogot, Colombia

Project ID: #4434247

7 freelancers are bidding on average $159 for this job

taro

I'm interested.

$154 USD in 5 days
(34 Reviews)
6.7
ciphertech

Hi, I can fix your bugs. I have a team of ROR developers with a strong experience of more than 5 years working on complex web applications. We can discuss more about this on Skype. Waiting for your positive response. R More

$250 USD in 7 days
(5 Reviews)
4.3
Tenpaiyomi

Hey Juan, These are just a few minor problems, I could have it solved in a few hours. Let me know if you want to proceed. Regards, Eric

$110 USD in 1 day
(1 Review)
3.3
getveltrod

Hi, Veltrod Software services is a global software consulting company specialized in providing Mobile applications, Social media frameworks and eCommerce solutions. Leveraging best-in-class people, processes, and t More

$257 USD in 15 days
(0 Reviews)
0.0
programer218

I can fix your bugs!

$252 USD in 5 days
(0 Reviews)
0.0
mvjohn100

3+ years rails development experience

$140 USD in 3 days
(0 Reviews)
0.0
qariozconsulting

Won't be a problem changing the logic if it's just simple ActiveRecord change.

$100 USD in 2 days
(0 Reviews)
0.0
ormus2002

It's easy for me to fix this problem

$100 USD in 2 days
(0 Reviews)
0.0
codeware1

Hello, Greeting of the day !! I read your requirement and we are ready to work on the project right away with quality assured and in the given budget. We will keep you updated on the status and will never mis More

$190 USD in 5 days
(0 Reviews)
0.0