Giter VIP home page Giter VIP logo

cba's Introduction

Hi there ๐Ÿ‘‹

  • ๐Ÿ”ญ Iโ€™m currently working at e-Matrix Innovations GmbH, Austria
  • ๐ŸŒฑ Iโ€™m learning all the time
  • ๐Ÿ’ฌ Ask me about Elixir
  • ๐Ÿ“ซ [email protected]
  • ๐Ÿ˜„ Pronouns: he/him
  • โšก Fun fact: Musik, Benzin und Kuchen

cba's People

Contributors

iboard avatar karlhochfilzer avatar l4u avatar runsnbunsn 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  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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

cba's Issues

Mongoid::Errors::InvalidIndex in HomeController#index

Am getting the following error trying to run the application.

Problem:
Invalid index specification on Blog: [["tags_array", 1]], {}
Summary:
Indexes in Mongoid are defined as a hash of field name and direction/2d pairs, with a hash for any additional options.
Resolution:
Ensure that the index conforms to the correct syntax and has the correct options.

Valid options are:
background: true|false
drop_dups: true|false
name: 'index_name'
sparse: true|false
unique: true|false
min: 1
max: 1
bits: 26
bucket_size : 1
Valid types are: 1, -1, '2d', 'geoHaystack'

Example:
class Band
include Mongoid::Document
index({ name: 1, label: -1 }, { sparse: true })
index({ location: '2d' }, { background: true })
end

Page body removes id tags

When I set interpreter to non and save the following content:

 <div class="blog_calendar hasDatepicker" id="4f20ba65fdffdc4ce8000003"></div>
 <div class="blog_description" id="description_4f20ba65fdffdc4ce8000003"></div>

this renders as:

<div class="blog_calendar hasDatepicker"></div>
<div class="blog_description"></div>

I think the interpreter is still working, but the id attributes are getting stripped out.

Pull without losing local changes

In order to make it easier to handle local layout, there should be a setup for the local html-template. Just like local css is supported in application.yml, views/layout/application.html.erb should be handled the same way.

~/CBA/template.rb

Hi Andi,

I noticed you started your fine work on CBA, from the useful Rails3-Mongoid-Devise template by fortuity.

I think should be great and useful if you could update ~/CBA/template.rb with your OmniAuth integration snippets.

Do you think is possible ?
Thanks
luca

Can't view draft postings

log in as role :admin
create new blog
add posting, mark as draft
posting is not visible for :admin in blogs, show

i'll try to put a test together

Missing images in production mode after pull

At the moment you will face missing images after pulling from CBA/master.

To solve this you have to do the following steps:

rake assets:clean
rake assets:precompile
cd public/
cd assets/
ln -s ../../app/assets/images/* .
cd avatars/
cd icon/
ln -s missing-*.png missing.png
cd ../medium/
ln -s missing-*.png missing.png
cd ../preview/
ln -s missing-*.png missing.png
cd ../thumb/
ln -s missing-*.png missing.png

This issue will be solved in one of the next commits.

rails server don't work

Hi,
i just tried your CBA because i like the easyness of installation and configuration.
The setup routine runned smoothly, i configured everything and then wanted to start the server:


This is the result:

 /usr/local/bin/rails: line 11: version: command not found
 /usr/local/bin/rails: line 13: syntax error near unexpected token `('
 /usr/local/bin/rails: line 13: `if ARGV.first =~ /^_(.*)_$/ and Gem::Version.correct? $1 then'

I'm on Ubunto 10.04 server, rails 3.0.7 and ruby 1.9.2.

Do you know what this is?

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.