Ruby China
  • Topics
  • 招聘
  • Wiki
  • 酷站
  • Gems
  • Sign Up
  • Sign In
逍遥
@xiaoyaozizai
Member
NO. 9453 / 2013-10-07

2 Topics / 8 Replies
0 Followers
0 Following
0 Favorites
GitHub Public Repos
  • logfile_transfer 2

    Ruby monitoring and transform logfiles daemon.

  • tantivy-insight 1

    个人对tantivy的理解.更新中

  • lnx 0

    ⚡ Insanely fast, 🌟 Feature-rich searching. lnx is the adaptable deployment of the tantivy search ...

  • Toshi 0

    A full-text search engine in rust

  • lucene 0

  • qframe 0

    Immutable data frame for Go

  • Storm-Kafka 0

  • WeblogChallenge 0

    This is an interview challenge for Paytm Labs. Please feel free to fork. Pull Requests will be ig...

  • tantivy 0

    Tantivy is a full-text search engine library inspired by Apache Lucene and written in Rust

  • bigdata-script 0

More on GitHub
  • Overview
  • Topics
  • Replies
  • Favorites
  • Following
  • Followers
  • active admin,如何将一个产品,加入到广告表里 at April 10, 2014

    1 产品列表添加链接 ActiveAdmin.register Product do index do ... actions do |p| link_to '加为广告', {controller: 'admin/ads', action: 'new', product_id: p.id} end end end

    2 广告添加 controller.new ActiveAdmin.register Ad do controller do def new product_id = params[:product_id] @ad = Ad.new @ad.product_id = product_id end end end

  • active admin,如何将一个产品,加入到广告表里 at April 10, 2014

    #4 楼 @special 感谢回复,我已解决,稍后我会贴代码

  • active admin,如何将一个产品,加入到广告表里 at April 10, 2014

    #3 楼 @pynix 过万下拉就不方便了

  • active admin 如何定制导航,前面那个 ADMIN 有人动过吗? at April 10, 2014

    文档清晰,github 上关注的人多于 rails admin,可定制性略好于 rails admin。

    http://batsov.com/articles/2011/11/20/admin-interfaces-for-rails-apps-railsadmin-vs-activeadmin/

    我对页面,功能无太多要求,就是要快,代码少。

  • active admin,如何将一个产品,加入到广告表里 at April 05, 2014

    #1 楼 @kgen 感谢你的回复,不用 active admin 我知道怎么做,在 active admin 下能贴一两行 关键点 代码吗?

  • active admin 如何定制导航,前面那个 ADMIN 有人动过吗? at April 04, 2014

    前面那个 ADMIN 有人动过吗?

  • active admin 如何定制导航,前面那个 ADMIN 有人动过吗? at April 04, 2014

    #1 楼 @pynix 感谢指教,找了半天,终于搞定。

    config/application.rb config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}').to_s] config.i18n.default_locale = "zh-CN"

    config/locales/zh-CN.yml zh-CN:   activerecord:     models:       nation: '国家'

  • GO 的性能真的是很惊人啊 at October 07, 2013

    初步测试跟 c++ 性能差不多

关于 / RubyConf / Ruby 镜像 / RubyGems 镜像 / 活跃会员 / 组织 / API / 贡献者
由众多爱好者共同维护的 Ruby 中文社区,本站使用 Homeland 构建,并采用 Docker 部署。
服务器由 赞助 CDN 由 赞助
iOS 客户端 / Android 客户端 简体中文 / English