Initial commit
Oh wow I just now remembered to commit.
Where do I even begin. All the core parts of the challenge are functional. I only had the movies working before
and not in order or in a table. I fixed both of those things, and on top of that I did the actors portion of the work which included a page with all the actors names and a page with each actors parts in movies they have been in. My biggest issue with my program is that it is so darn slow. I know exactly why it is slow, but Adam said the only way to speed it up is by using something we havent covered. When I finish the none core work I would like to go back and figure out INDEXES so that I can speed up the sorting process of my tables.
The search bar is officially functional.
With this commit I add the search function for both actors names and movie titles using postgresql querys.
Along the way I realized a lot of my movies were not displaying in the show file due to not having a studio in the database.
I fixed this with a simple outer join to include movies even if they don't have a studio id in the movies table.
Another quick fix was names that had special characters in them. I changed the url to only include actors id. This stopped the names from messing with the params hash while linking to their show file.
With this commit I cleaned up a lot.
The functionality of this app has not changed.
The only things I changed are that I added a methods file that holds all my methods
just to keep my server.rb folder a tade more organized.
The second thing I did was change all the pagination to sql pagination to speed up my
pages quite a bit.