Fixed a bug in building corporation models.
Added MISBuilder.build to the cache_timers.checktimes for call_type 2 and 4.
Built out component market orders for show_mis.html.erb.
Built up outpost_builder.rb to query the API for outpost names. apis_controller.rb creates a cacheTimes record for outpost_builder if there isn't already one in existence, and cache_times.rb fires it to pull from the API and update station records for name changes and initial population.
Refactored all drop downs to include values useable in javascript functions.
Shuffled the Gemfile to be more readable.
Opened up a new route for use in AJAX Calls for MarketItemSummaries.
Created a basic function for use in AJAX calls, method name: filter.
Updated show_mis for use with a JS function to make an AJAX call, then swapped it to jquery binds.
Learned JQuery to write a function that pulls the value of the selected option from each selected drop down for use in building a query. Began learning AJAX for use in ajax calls against the MarketItemSummariesController#filter method.
Abstracted corp and character MIS tables from show_mis.html.erb to _character_table.html.erb and _corporation_table.html.erb. This should allow the tables to be reloaded via AJAX.
Removed characters from the options in the owner select.
Devised and implemented a means to safely query the DB based on dynamic select statements.
Duplicated the station_select AJAX call function to cover all four select boxes. It's not DRY, but it works.
Added test.rb to .gitignore.
Troubleshooted and appears that adding a respond_to block has resulted in a successful AJAX call with the server reprocessing the corporation and character tables.
Next is to rewrite the table partials to rely on the supplied @mis and thus be fully dynamic.
Converted _corporation_table.html.erb to use @mis object provided by the controller rather then its own. Sadly something is missing and a new corporation_table is not rendering when the ajax fires.
Still unable to pass the variable @mis up through the stack. No idea where. It looks like the best course of action will be to rewrite the tables to use collections instead. I had hoped that wouldn't be necessary.
Specificed that marketitemsummaries/filter was a GET route.
Placed a div around the corporation_table render so the entire partial can be reloaded.