Giter VIP home page Giter VIP logo

china_regions's Introduction

Hi there Folks 👋 I am Encore

encoreshao

👨 About Me

  • 🤔   Exploring new technologies and developing software solutions and quick hacks.
  • 🎓   Lead Software Engineer at Ekohe and coding stuffs.
  • 🌱   Learning about Cloud Tech, Systems Design.
  • ✍️   Pursuing Web Development and Open Source as hobbies.

Tech Languages

Ruby Python JavaScript TypeScript Java Swift Node.js TypeScript TypeScript

Technologies

AWS Docker Linux Rails React Redis Spring TensorFlow PostgreSQL MongoDB InfluxDB MySQL Firebase Firebase TypeScript


china_regions's People

Contributors

encoreshao avatar travis-anderson avatar wongyouth 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  avatar

Watchers

 avatar  avatar  avatar

china_regions's Issues

rake china_regions:import导入数据问题

当运行rake china_regions:import时,import task莫名其妙的会被执行2次。

当把这个import 重名后,用新的名称执行时,则可以正确执行1次。

不知什么地方出了问题?

Support ruby3 + rails 6

❯ rake china_regions:all

rake aborted!
ArgumentError: You tried to define a scope named "filter" on the model "Province", but ActiveRecord::Relation already defined an instance method with the same name.
/Users/encore/Dev/Github/soap-api/app/models/province.rb:15:in `<class:Province>'
/Users/encore/Dev/Github/soap-api/app/models/province.rb:4:in `<main>'
Tasks: TOP => china_regions:import
(See full trace by running task with --trace)

没有将js分离

如果为了加快页面加载,把js放在页面最后这个gem就不会运行了,因为jquery没有加载上去。

如何配置默认选中?

你好,我想你开发的gem,但是使用过程中遇到个小问题。我不知道配置默认选中项。
因为我用你使用方法中的方法进行显示时,默认显示的Select,我想显示“请选择省”

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.