holli / advert_selector Goto Github PK
View Code? Open in Web Editor NEWadvert_selector
License: MIT License
advert_selector
License: MIT License
Hi,
Do the advert_selector has mongoid support.
Is it possible to run this on Rails 4?
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.
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?
this gem needs 'acts_as_list'
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.