Giter VIP home page Giter VIP logo

ofac's People

Contributors

agrberg avatar hartct avatar kevintyll avatar pkarnawat avatar rjbeau avatar saizai avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

ofac's Issues

README Instructions for Rails 3

Forgive me for my newbness.

I'm trying to use your OFAC gem (v 1.2.3) in rails 3. The README tells me to do scripts/generate ofac_migration which I've determined changed in rails 3 to something like rails generate ofac_migration. When I tried that rails reported "Could not find generator ofac_migration."

Is it possible to use this gem in rails 3? If you can toss me some quick commands I'll be glad to format that into a pull request for inclusion in the readme.

Thank you!

Loading data into MySQL on Windows

Hi Kevin,

Thank you for providing ofac gem for community. I have noticed issue with loading data into MySQL 5.0.27 on Windows. At the moment when I run ofac:update_data task it loads 11476 records into MySQL table. It is exactly half of records loaded into Postgre on heroku (22952 records). Is it known issue? Maybe it is related to some issues on my machine, I'm not sure.

Best regards, Alexander

"Trouble loading data"

After installing (v3.0.0), generating and running migrations, I get this when trying to update the data:

pry(main)> OfacSdnIndividualLoader.load_current_sdn_file
Not using mysql, will use active record to load data
Reloading OFAC sdn data
Downloading OFAC data from http://www.treas.gov/offices/enforcement/ofac/sdn
Trouble downloading file.  The url may have changed.

Any ideas or suggestions are appreciated.

Migration is not reversible

The CreateOfacSdnIndividuals is not reversible as the change method calls OfacSdnIndividualLoader.load_current_sdn_file regardless of direction. This puts the database in an inconsistent state if you try and revert this migration.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.