Giter Club home page Giter Club logo

carmen-demo-app's People

Contributors

jim avatar pekeler avatar

Stargazers

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

Watchers

 avatar  avatar  avatar

carmen-demo-app's Issues

Demo App country_select causes error as written in tutorial

This section of code in the readme demo:

<%= f.country_select :country_code, priority: %w(US CA), prompt: 'Please select a country' %>

raises an error as written around the priority parameter. The error traces all the way to country-select.rb at line 18

If I understand correctly, it's because US and CA don't exist in the countries array. Also, I believe the right parameter name is :priority_countries and not :priority as indicated.

What is the intent of building an array of "US", "CA" ? Which countries are they suppose to be referring to?

How do i pass class to state_code select box?

IN your sample code i have used the below lines, and tried to pass class and an arguments here. but it doesn't take class variable.

<% elsif country.subregions? %>
    <%= subregion_select(:order, :state_code, parent_region) %>
  <% else %>

to

<% elsif country.subregions? %>
    <%= subregion_select(:order, :state_code, parent_region,class:"from-control") %>
  <% else %>

plz, help me . i am using this code in the live project.

Invalid gemspec

Hi, I'm trying to use carmen-rails in one of my apps and I get the next error when starting the rails server.

Invalid gemspec in [/Users/elmaco/.rvm/gems/ruby-1.9.2-p0/specifications/carmen-1.0.0.beta2.gemspec]: Illformed requirement ["#Syck::DefaultKey:0x00000109445f70 2.6.1"]
Invalid gemspec in [/Users/elmaco/.rvm/gems/ruby-1.9.2-p0/specifications/carmen-1.0.0.beta2.gemspec]: Illformed requirement ["#Syck::DefaultKey:0x00000109445f70 2.6.1"]
Invalid gemspec in [/Users/elmaco/.rvm/gems/ruby-1.9.2-p0/specifications/carmen-1.0.0.beta2.gemspec]: Illformed requirement ["#Syck::DefaultKey:0x00000109445f70 2.6.1"]
Could not find carmen-1.0.0.beta2 in any of the sources

I added gem 'carmen-rails' to gemfile and bundle install shows:
Installing carmen (1.0.0.beta2)
Using carmen-rails (1.0.0.beta3)

Any hints?

Rails 3.2.3
Ruby ruby 1.9.2p0 (2010-08-18 revision 29036) [x86_64-darwin10.4.0]

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.