Giter VIP home page Giter VIP logo

advert_selector's People

Contributors

brahimdahmani avatar breese524 avatar holli avatar meltingice avatar nles 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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

advert_selector's Issues

Rails 4

Is it possible to run this on Rails 4?

undefined method `simple_form_for'

on /advert_selector/banners/new i get:

NoMethodError in Advert_selector/banners#new
... advert_selector/app/views/advert_selector/banners/_form.html.erb where line #1 raised:
undefined method simple_form_for' for #<#Class:0x0000010093cac8:0x00000100940060>`

i am missing something?

thanks.

Undefined method `acts_as_list' on Class when creating new banner

Hello,

In banners/new I'm getting an "Undefined method `acts_as_list' for..." error, risen by line 9 at app/models/advert_selector/helper_item.rb

Already tried reinstalling simple_form.

I'm using rails 4.1.8 and ruby 2.1.5 and looks like creating new placements works fine

Can you give me a hand please?

Directly inheriting from ActiveRecord::Migration is not supported

This error occurs when trying to run rails db:migrate after installing advert_selector:

StandardError: An error has occurred, this and all later migrations canceled:

Directly inheriting from ActiveRecord::Migration is not supported. Please specify the Rails release the migration was written for.

This issue can easily be fixed by changing the first line of all three migrations to be:

class CreateAdvertSelector... < ActiveRecord::Migration[5.0]

...rather than...

class CreateAdvertSelector... < ActiveRecord::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.