Changed Gemfile.lock.
Disable sunspot in the susnpot.yml file for the production environment.
Changed the fix_attribute_values rake task.
Reenabled solr in the sunspot.yml config file.
Added the film_festival_edition model. Changed the association between works and film_festival, to works and film_festival_editions, changed the WorkFilmFestival model and the create_work_film_festival migration, changing the film_festival_id to film_festival_edition_id.
Removed the works/film_festival_fields partial and added the works/film_festival_edition_fields partial instead.
Added a has_many association with film_festival_editions through work_film_festivals in the Work model. Also added a has_many association with film_festivals trhough film_festival_editions in the Work model.
fix film festival model spec
database cleaner gem instalada
Added the TechnicalAnalysis, TechnicalReport and LegalDeposit models
fix technical analysis name and specs
remove material field from technical analysis model and spec
Readded the deploy:restart task and the callback after deploy:update task is run, to the capistrano deploy recipe.
Added the technical_reports controller and view, along with test specs.
Changed the views and partial to add FilmFestivalEditions attributes into the Work form instead of FilmFestival attributes. Also changed the Work model to accept nested attributes for FilmFestivalEditions. Changed the FilmFestivalEdition model to index the standard_title method, which returns the FilmFestival title and the FilmFestivalEdition edition concatenated.
specs for film festival edition controller
Checking if there is a FilmFestival associated with the FilmFestivalEdition record before printing out the FilmFestival title in the standard_title method. Made some fixes to views.
work model spec fixed
fixed genre migration spec
Added a function to enable navigation in the drop-down menus (used in search autocomplete) using the keyboard arrows and enter for selection. Changed the ajax_search_for_association javascript function to avoid conflicts.