Project

importable

0.0
No commit activity in last 3 years
No release in over 3 years
An engine for importing spreadsheets (or `ActiveResources`) into a Rails app, easily.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.1.1
~> 1.3.0
~> 0.4.5
~> 2.0.5
~> 0.10.0
~> 2.6.1
~> 1.3.4
~> 1.11.3

Runtime

~> 0.5.7
~> 3.1.0
~> 1.9.7
>= 2.0.2
~> 0.6.5.9
 Project Readme

Importable

An engine for importing spreadsheets (or ActiveResources) into a Rails app, easily.

Synopsis

TODO

Usage

Add it to your Gemfile

gem 'importable'

Bundle it up

bundle install

Install the migrations and apply them

rake importable:install:migrations
rake db:migrate

Mount the engine

mount Importable::Engine => '/import'

You can use the included generator to copy the views if you'd like to customize them

rails generate importable:views

You can also create mapper specific views. This is especially useful if you want the form to provide extra info to the mapper. The generator can create these views for you if you pass the name of the mapper.

rails generate importable:view widgets

Write an import mapper

TODO

Control redirection after upload

TODO

Accept extra attributes from the import form

TODO

Start using the UI to import data

TODO

Testing import mappers

TODO

Working with ActiveResources

TODO

TODO

Resources have some flash on success functionally that spreadsheets don't

Moves strings to en.yaml

DSL to make mappers cleaner

Make database optional

Add support for other file types that roo can give us for free

Back button specs

Figure out how to allow overriding map specific templates in app/views/importable/spreadsheets/foos rather than app/views/foos/importable/spreadsheets

Initializer for configuration, should allow setting the file upload path

Underscored attribute aliases to incoming names with spaces

Allow views to be in a directories named 'import', possibly whatever the engine is mounted as

Importer#imported_items_ready? smells funny