Mercurial > hg > soundsoftware-site
view .svn/pristine/b0/b0a06a0b059718827c8a9b8597fff5b10ea352e4.svn-base @ 1274:5ea1a213c7a5 redmine-2.2-integration
Removed Ajax calls taht are no longer working in Rails 3 and started migrating them; added a new javascript file - bibliography.js - to hold the new jquery js code; added the new show_bibtex_fields.js.erb file to replace the RJS code that was in the controller.
author | luisf <luis.figueira@eecs.qmul.ac.uk> |
---|---|
date | Thu, 09 May 2013 18:44:59 +0100 |
parents | cbb26bc654de |
children |
line wrap: on
line source
class CreateWikiRedirects < ActiveRecord::Migration def self.up create_table :wiki_redirects do |t| t.column :wiki_id, :integer, :null => false t.column :title, :string t.column :redirects_to, :string t.column :created_on, :datetime, :null => false end add_index :wiki_redirects, [:wiki_id, :title], :name => :wiki_redirects_wiki_id_title end def self.down drop_table :wiki_redirects end end