spinacms / spina Goto Github PK
View Code? Open in Web Editor NEWSpina CMS
Home Page: http://www.spinacms.com
License: Other
Spina CMS
Home Page: http://www.spinacms.com
License: Other
Hello. What version of rails it requires?
I have received the following exception after uploading image to image gallery:
NoMethodError (undefined method storage' for #<Rails::Engine::Configuration:0x007ff03084ad78>): railties (4.2.1) lib/rails/railtie/configuration.rb:95:in
method_missing'
spina (0.6.29) app/uploaders/spina/photo_uploader.rb:8:in store_dir' carrierwave (0.10.0) lib/carrierwave/uploader/store.rb:43:in
store_path'
carrierwave (0.10.0) lib/carrierwave/storage/file.rb:30:in store!' carrierwave (0.10.0) lib/carrierwave/uploader/store.rb:59:in
block in store!'
carrierwave (0.10.0) lib/carrierwave/uploader/callbacks.rb:17:in `with_callbacks'
My current version - 4.2.1
This happens after trying to upload an image
spina (0.6.29) app/controllers/spina/admin/photos_controller.rb:17:in
create'`
Update aviary to latest Adobe Creative SDK Image Editing Component
app/views/layouts/spina/admin/application.html.haml:17 needs to be updated from
= javascript_include_tag "http://feather.aviary.com/js/feather.js"
to
= javascript_include_tag "http://feather.aviary.com/imaging/v2/editor.js"
Need to also include own API Key and also change "language" attribute to default CMS admin language.
in app/assets/javascripts/spina/admin/aviary.js.coffee:2 and app/assets/javascripts/spina/admin/aviary.js.coffee:5
Rails community really needs a good cms , i think Spina will fill this gap .
but there is less documentation. how setup , how to deploy , no theme
i think we need more core contributor in this project
if the core team member mentor me i can be a core contributor Spina CMS ,
as a First look itβs really great
@whomwah @parndt
throw a exception at this line
Spina::Account.first.save
-- create_table("spina_users", {:force=>:cascade})
-> 0.0020s
== 20150719080928 CreateSpinaTables: migrated (0.0507s) =======================
create app/views/layouts/default/application.html.erb
create app/views/default/pages/homepage.html.erb
create app/views/default/pages/show.html.erb
What would you like to name your website? seaify
Please enter an email address for your first user: dilin.life@gmail.com
Create a temporary password: xxxx
rake spina:bootstrap
rake aborted!
NoMethodError: undefined method `save' for nil:NilClass
/Users/chuck/.rvm/gems/ruby-2.1.5/gems/spina-0.6.29/lib/tasks/spina_tasks.rake:5:in `block (2 levels) in <top (required)>'
/Users/chuck/.rvm/gems/ruby-2.1.5/bin/ruby_executable_hooks:15:in `eval'
/Users/chuck/.rvm/gems/ruby-2.1.5/bin/ruby_executable_hooks:15:in `<main>'
Tasks: TOP => spina:bootstrap
(See full trace by running task with --trace)
route mount Spina::Engine => '/'
Hi, got it running on my local machine... backend works really nice, but on the front end I couldn't see any theme and what's worst, markdown is not getting rendered, I just see the plain output, not a processed one (for example, >quote
gets displayed just like that).
What do I need to do about it? I really love it!
Thanks.
Hey! π
I was excited to see that there's a new CMS for Ruby out and so I looked through the code but I got a bit disappointed when I saw that it's substantially similar to Refinery CMS which is under MIT license.
It's totally fine to take the code and use it but.. Refinery's got a license which I'll quote:
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
Here are some examples of very near duplication:
Spina's pages controller: https://github.com/denkGroot/Spina/blob/master/app/controllers/spina/pages_controller.rb
Refinery's pages controller: https://github.com/refinery/refinerycms/blob/master/pages/app/controllers/refinery/pages_controller.rb
Spina's menu presenter: https://github.com/denkGroot/Spina/blob/master/app/presenters/spina/pages/menu_presenter.rb
Refinery's menu presenter: https://github.com/refinery/refinerycms/blob/master/pages/app/presenters/refinery/pages/menu_presenter.rb
π
What's going on?
After running install, the app requests a name: What would you like to name your website?
== 20160123005505 CreateSpinaTables: migrated (1.9125s) =======================
create app/assets/stylesheets/default/application.css.sass
create app/views/layouts/default/application.html.haml
create app/views/default/shared/_navigation.html.haml
create app/views/default/pages/homepage.html.haml
create app/views/default/pages/show.html.haml
What would you like to name your website? dgtl-factory.com
/Library/Ruby/Gems/2.0.0/gems/protected_attributes-1.0.8/lib/active_model/mass_assignment_security/sanitizer.rb:60:in `process_removed_attributes': Can't mass-assign protected attributes for Spina::Account: name, theme (ActiveModel::MassAssignmentSecurity::Error)
from /Library/Ruby/Gems/2.0.0/gems/protected_attributes-1.0.8/lib/active_model/mass_assignment_security/sanitizer.rb:10:in `sanitize'
from /Library/Ruby/Gems/2.0.0/gems/protected_attributes-1.0.8/lib/active_model/mass_assignment_security.rb:346:in `sanitize_for_mass_assignment'
from /Library/Ruby/Gems/2.0.0/gems/protected_attributes-1.0.8/lib/active_record/mass_assignment_security/attribute_assignment.rb:58:in `assign_attributes'
from /Library/Ruby/Gems/2.0.0/gems/protected_attributes-1.0.8/lib/active_record/mass_assignment_security/core.rb:8:in `init_attributes'
from /Library/Ruby/Gems/2.0.0/gems/activerecord-4.1.8/lib/active_record/core.rb:196:in `initialize'
from /Library/Ruby/Gems/2.0.0/gems/activerecord-4.1.8/lib/active_record/inheritance.rb:30:in `new'
from /Library/Ruby/Gems/2.0.0/gems/activerecord-4.1.8/lib/active_record/inheritance.rb:30:in `new'
from /Library/Ruby/Gems/2.0.0/gems/protected_attributes-1.0.8/lib/active_record/mass_assignment_security/persistence.rb:45:in `create'
from /Library/Ruby/Gems/2.0.0/gems/spina-0.7.3/lib/generators/spina/install_generator.rb:31:in `create_account'
from /Library/Ruby/Gems/2.0.0/gems/thor-0.19.1/lib/thor/command.rb:27:in `run'
from /Library/Ruby/Gems/2.0.0/gems/thor-0.19.1/lib/thor/invocation.rb:126:in `invoke_command'
from /Library/Ruby/Gems/2.0.0/gems/thor-0.19.1/lib/thor/invocation.rb:133:in `block in invoke_all'
from /Library/Ruby/Gems/2.0.0/gems/thor-0.19.1/lib/thor/invocation.rb:133:in `each'
from /Library/Ruby/Gems/2.0.0/gems/thor-0.19.1/lib/thor/invocation.rb:133:in `map'
from /Library/Ruby/Gems/2.0.0/gems/thor-0.19.1/lib/thor/invocation.rb:133:in `invoke_all'
from /Library/Ruby/Gems/2.0.0/gems/thor-0.19.1/lib/thor/group.rb:232:in `dispatch'
from /Library/Ruby/Gems/2.0.0/gems/thor-0.19.1/lib/thor/base.rb:440:in `start'
from /Library/Ruby/Gems/2.0.0/gems/railties-4.1.8/lib/rails/generators.rb:157:in `invoke'
from /Library/Ruby/Gems/2.0.0/gems/railties-4.1.8/lib/rails/commands/generate.rb:11:in `<top (required)>'
from /Library/Ruby/Gems/2.0.0/gems/activesupport-4.1.8/lib/active_support/dependencies.rb:247:in `require'
from /Library/Ruby/Gems/2.0.0/gems/activesupport-4.1.8/lib/active_support/dependencies.rb:247:in `block in require'
from /Library/Ruby/Gems/2.0.0/gems/activesupport-4.1.8/lib/active_support/dependencies.rb:232:in `load_dependency'
from /Library/Ruby/Gems/2.0.0/gems/activesupport-4.1.8/lib/active_support/dependencies.rb:247:in `require'
from /Library/Ruby/Gems/2.0.0/gems/railties-4.1.8/lib/rails/commands/commands_tasks.rb:135:in `generate_or_destroy'
from /Library/Ruby/Gems/2.0.0/gems/railties-4.1.8/lib/rails/commands/commands_tasks.rb:51:in `generate'
from /Library/Ruby/Gems/2.0.0/gems/railties-4.1.8/lib/rails/commands/commands_tasks.rb:40:in `run_command!'
from /Library/Ruby/Gems/2.0.0/gems/railties-4.1.8/lib/rails/commands.rb:17:in `<top (required)>'
from bin/rails:4:in `require'
from bin/rails:4:in `<main>'
This seemed to be a similar issue to #102, but where the error there was
attribute_assignment.rb:59:in `rescue in _assign_attribute': unknown attribute 'theme' for Spina::Account. (ActiveRecord::UnknownAttributeError)
The issue here is
sanitizer.rb:60:in `process_removed_attributes': Can't mass-assign protected attributes for Spina::Account: name, theme (ActiveModel::MassAssignmentSecurity::Error)
i want to build a theme , but there is lack of documentation
When running the generator, I get an AR error. Unknown attribute name for user. If this is going to use the User table the generator' should add that attribute to the user table or the 'readme' should add a note that the user should add this attribute to the user table if one exists.
/Users/chabgood/.rvm/gems/ruby-2.2.3@registeryourhorse/gems/activerecord-4.2.4/lib/active_record/attribute_assignment.rb:59:in rescue in _assign_attribute': unknown attribute 'name' for User. (ActiveRecord::UnknownAttributeError) from /Users/chabgood/.rvm/gems/ruby-2.2.3@registeryourhorse/gems/activerecord-4.2.4/lib/active_record/attribute_assignment.rb:54:in
_assign_attribute'
from /Users/chabgood/.rvm/gems/ruby-2.2.3@registeryourhorse/gems/activerecord-4.2.4/lib/active_record/attribute_assignment.rb:41:in block in assign_attributes' from /Users/chabgood/.rvm/gems/ruby-2.2.3@registeryourhorse/gems/activerecord-4.2.4/lib/active_record/attribute_assignment.rb:35:in
each'
from /Users/chabgood/.rvm/gems/ruby-2.2.3@registeryourhorse/gems/activerecord-4.2.4/lib/active_record/attribute_assignment.rb:35:in assign_attributes' from /Users/chabgood/.rvm/gems/ruby-2.2.3@registeryourhorse/gems/activerecord-4.2.4/lib/active_record/core.rb:564:in
init_attributes'
from /Users/chabgood/.rvm/gems/ruby-2.2.3@registeryourhorse/gems/activerecord-4.2.4/lib/active_record/core.rb:281:in initialize' from /Users/chabgood/.rvm/gems/ruby-2.2.3@registeryourhorse/gems/activerecord-4.2.4/lib/active_record/inheritance.rb:61:in
new'
from /Users/chabgood/.rvm/gems/ruby-2.2.3@registeryourhorse/gems/activerecord-4.2.4/lib/active_record/inheritance.rb:61:in new' from /Users/chabgood/.rvm/gems/ruby-2.2.3@registeryourhorse/gems/activerecord-4.2.4/lib/active_record/persistence.rb:33:in
create'
from /Users/chabgood/.rvm/gems/ruby-2.2.3@registeryourhorse/gems/spina-0.6.29/lib/generators/spina/install_generator.rb:35:in create_user' from /Users/chabgood/.rvm/gems/ruby-2.2.3@registeryourhorse/gems/thor-0.19.1/lib/thor/command.rb:27:in
run'
from /Users/chabgood/.rvm/gems/ruby-2.2.3@registeryourhorse/gems/thor-0.19.1/lib/thor/invocation.rb:126:in invoke_command' from /Users/chabgood/.rvm/gems/ruby-2.2.3@registeryourhorse/gems/thor-0.19.1/lib/thor/invocation.rb:133:in
block in invoke_all'
from /Users/chabgood/.rvm/gems/ruby-2.2.3@registeryourhorse/gems/thor-0.19.1/lib/thor/invocation.rb:133:in each' from /Users/chabgood/.rvm/gems/ruby-2.2.3@registeryourhorse/gems/thor-0.19.1/lib/thor/invocation.rb:133:in
map'
from /Users/chabgood/.rvm/gems/ruby-2.2.3@registeryourhorse/gems/thor-0.19.1/lib/thor/invocation.rb:133:in invoke_all' from /Users/chabgood/.rvm/gems/ruby-2.2.3@registeryourhorse/gems/thor-0.19.1/lib/thor/group.rb:232:in
dispatch'
from /Users/chabgood/.rvm/gems/ruby-2.2.3@registeryourhorse/gems/thor-0.19.1/lib/thor/base.rb:440:in start' from /Users/chabgood/.rvm/gems/ruby-2.2.3@registeryourhorse/gems/railties-4.2.4/lib/rails/generators.rb:157:in
invoke'
from /Users/chabgood/.rvm/gems/ruby-2.2.3@registeryourhorse/gems/railties-4.2.4/lib/rails/commands/generate.rb:13:in <top (required)>' from /Users/chabgood/.rvm/gems/ruby-2.2.3@registeryourhorse/gems/activesupport-4.2.4/lib/active_support/dependencies.rb:274:in
require'
from /Users/chabgood/.rvm/gems/ruby-2.2.3@registeryourhorse/gems/activesupport-4.2.4/lib/active_support/dependencies.rb:274:in block in require' from /Users/chabgood/.rvm/gems/ruby-2.2.3@registeryourhorse/gems/activesupport-4.2.4/lib/active_support/dependencies.rb:240:in
load_dependency'
from /Users/chabgood/.rvm/gems/ruby-2.2.3@registeryourhorse/gems/activesupport-4.2.4/lib/active_support/dependencies.rb:274:in require' from /Users/chabgood/.rvm/gems/ruby-2.2.3@registeryourhorse/gems/railties-4.2.4/lib/rails/commands/commands_tasks.rb:123:in
require_command!'
from /Users/chabgood/.rvm/gems/ruby-2.2.3@registeryourhorse/gems/railties-4.2.4/lib/rails/commands/commands_tasks.rb:130:in generate_or_destroy' from /Users/chabgood/.rvm/gems/ruby-2.2.3@registeryourhorse/gems/railties-4.2.4/lib/rails/commands/commands_tasks.rb:50:in
generate'
from /Users/chabgood/.rvm/gems/ruby-2.2.3@registeryourhorse/gems/railties-4.2.4/lib/rails/commands/commands_tasks.rb:39:in run_command!' from /Users/chabgood/.rvm/gems/ruby-2.2.3@registeryourhorse/gems/railties-4.2.4/lib/rails/commands.rb:17:in
<top (required)>'
from /Users/chabgood/.rvm/gems/ruby-2.2.3@registeryourhorse/gems/activesupport-4.2.4/lib/active_support/dependencies.rb:274:in require' from /Users/chabgood/.rvm/gems/ruby-2.2.3@registeryourhorse/gems/activesupport-4.2.4/lib/active_support/dependencies.rb:274:in
block in require'
from /Users/chabgood/.rvm/gems/ruby-2.2.3@registeryourhorse/gems/activesupport-4.2.4/lib/active_support/dependencies.rb:240:in load_dependency' from /Users/chabgood/.rvm/gems/ruby-2.2.3@registeryourhorse/gems/activesupport-4.2.4/lib/active_support/dependencies.rb:274:in
require'
from /Users/chabgood/projects/me/registeryourhorse/bin/rails:20:in <top (required)>' from /Users/chabgood/.rvm/gems/ruby-2.2.3@registeryourhorse/gems/activesupport-4.2.4/lib/active_support/dependencies.rb:268:in
load'
from /Users/chabgood/.rvm/gems/ruby-2.2.3@registeryourhorse/gems/activesupport-4.2.4/lib/active_support/dependencies.rb:268:in block in load' from /Users/chabgood/.rvm/gems/ruby-2.2.3@registeryourhorse/gems/activesupport-4.2.4/lib/active_support/dependencies.rb:240:in
load_dependency'
from /Users/chabgood/.rvm/gems/ruby-2.2.3@registeryourhorse/gems/activesupport-4.2.4/lib/active_support/dependencies.rb:268:in load' from /Users/chabgood/.rvm/rubies/ruby-2.2.3/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in
require'
from /Users/chabgood/.rvm/rubies/ruby-2.2.3/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in require' from -e:1:in
See this Stackoverflow post - http://stackoverflow.com/questions/11773820/wysihtml5-image-src-and-href-are-stripped
It seems wysihtml5 strips the image src and href when local urls are used. Seeing as wysihtml5 isn't supported any more, should Spina move over to another wysiwyg framework?
Stumbling across this very interesting Ruby CMS on Github the repo is really sparse and could do with some information to make it easier to know what it is, how to install it etc. etc.
I can see from the documentation that this is the early days of open sourcing your product and the documentation is coming.
Even so, worth at least having the website address in the repo
Is there a planned roadmap for Spina?
Also, how do I contribute to the website documentation? There is nothing in the git repository. I'm assuming that the website documentation is using Spina -- it will be hard to contribute unless without access to existing documentation. Maybe we could keep a doc folder in the repo with the markdown files for each page or a wiki - something that easily imports into Spina.
DataTables jQuery plugin needs a non-dutch translation for non-dutch users :)
I see the translation callout in spina.js but it refers directly to dutch translations.
Error in console:
'Range.detach' is now a no-op, as per DOM (http://dom.spec.whatwg.org/#dom-range-detach).
I setup a new rails application and simply included spina and did all the default things. However when I fired up my server, all I could see is an empty Homepage. Is that expected ?
Here are the steps I did
rails new spina_test
cd spina_test
bundle install #After adding spina gems 'spina-template' and 'spina-template' to Gemfile
rails g spina:install
Am I missing anything? If it matters, I am using ruby-2.2.1
This is a common design for a cms.
We can use PhotoCollections
with PhotoCollectionsPhoto
s. Each PhotoCollectionsPhoto
can have description/url/pages.
hi denkGroot
could you please give me some hint how to implement a layout, css and some other visuals.
thank you
Does anyone have a blog post example page?
Will customize it but it would be a great starting point.
When selecting layout from settings, console throws the following error
Uncaught Error: Syntax error, unrecognized expression: tr.layout-part[data-name=]
Hi,
Files inside test/dummy/tmp
are being shipped with Spina. On version 0.6.29
they count up to 3100 files. It would be great if you could clean the folder before build a new version.
Since this folder is listed in .gitignore
those files don't appear on a git status
, so this might be the problem.
Spina CMS looks awesome, but since it is still in its early stages I thought it may not be too late to mention unfortunate associations that the name will have for many people.
In English the word "spina" is only used (afaik) in "spina bifida", a condition where a baby's spine fails to develop properly, resulting in a life-long need for a wheelchair. So to native speakers of English, this is likely to be the first and strongest association.
Obviously there are many markets where English doesn't matter, but I'd like to see Spina succeed, and the English-speaking world is a big market that will have a lot of influence over its success. The associations that a name gives play a significant role in how people perceive something.
I realize that changing a name is not a small thing, but I just wanted to make you aware of this while it's still early enough that it could be considered.
(I apologize if this is not the ideal place to bring up this topic. It seemed better than any alternatives I could think of, but definitely not perfect.)
I've used https://gist.github.com/Bramjetten/fdbc1aaf98387595a81b as an example to setup custom pages.
When clicking on the New Page button, only the Blogpost type is visible, you can't slide left or right to a different page type.
Is this a feature in progress?
I noticed that if we added the following code we can view the form at /inquiries
however submission fails.
def index
@inquiry = Inquiry.new
@captcha = NegativeCaptcha.new(
secret: Engine.config.NEGATIVE_CAPTCHA_SECRET,
spinner: request.remote_ip,
fields: [:email, :message, :name],
params: params
)
end
I doubt this is the intended way to get it working, have not used negative_captcha gem before but i'm keen to help on this.
Hello.
In the file app/views/layouts/spina/admin/application.html.haml
it hardcodes the <html lang=''>
tag to nl
:
%html{lang: 'nl'}
I am English, so it means in a browser like Chrome, it will always bring up the 'translate' blabla interface. Is this expected behaviour?
Using one installation, can we configure multiple sites
This might cause some file id loading conflicts.
I'm transitioning from a 1980's style website to this CMS. When I copy over a paragraph with a link, and I discover the link is dead, I go to remove it by highlighting the link and clicking the "link" button... but it only allows me to create a new link.
There should be a way to un-link text.
Hi,
The CanCan is a dead project. The latest commit is two years ago. Look the CanCanCan project, that is a continuation of the CanCan. What do you think?
In the event that the app that is mounting the Spina engine already has an admin
namespace in routes.rb
- Spina will either not work or will take over the admin
routes depending on where the engine is mounted in the routes.rb
file (above or below your admin routes).
Perhaps an option to override the routes/namespace for the backend engine?
Maybe a suggestion, but we were going to use this in-house, but the default PhotoCollection part behavior is a bit awkward.
Currently it acts like this:
But the way our clients and us would expect is:
The proposed behavior keeps the giant list of media items out of the users view when a page only requires the items that are uploaded for it. It would make sense to add those items to the media manager as well, but keep the uploads for the collections manager on the first visible window.
We're considering making a new 'gallery' partable that lets us upload in the fashion i'm suggesting, but I figured I'd post this here before working on something like that because it seems like thats how a PhotoCollection should work (in our opinion)
By the way, your cms looks absolutely gorgeous.
Il the photo editor, all the tools labels and the "Opslaan" button are still in nl.
I guess contributions are welcome ?
Unless I am wrong, can you set your contributions rules in the README or in a CONTRIBUTING.md ?
Maybe add the ability to rough copy in Spina?
I did not find it.
I think more translations may be a huge plus for adoption in country with a bad english penetration (France for example).
Since the typical "feel free to contribute" is not inluded in the readme, I ask for courtesy : do you mind if I translate it for you ?
Do you prefer minitest instead of rspec for a particular reason?
I could write a pull request configuring rspec and covering most of the code you have now, if you'd like.
Just asking before I perform any work beforehand.
Keep it up it looks awesome!
When I install Spina and try to upload a logo, I get this error. It is caused by not having a storage method set in config/initializers/spina.rb. Since you're generating this by default I propose you either (a) set :file as the default value but continue to provide the AWS example or (b) provide a list of possible values and a more helpful error message or (c) both.
Hello.
How can i render a collection of pages? For example a blog posts.
Hi,
How do I render page parts that are not text? I can currently do this like so
For images <%= image_tag @page.content(:photo).file %>
For structures
<% @page.content(:team).structure_items.each do |part| %>
<%= part.content(:name) %>
<%= part.content(:job) %>
<% end %>
Is there an easier or different way?
Create page slider, used to select view template gets DOM id's for children elements from view template title. I think that better would be to form id from view template name because for non-english languages title contains non-ascii characters. Now it causes me to use english titles to make it works.
I'm adding Spina as the first gem in a new rails app.
rails v 4.2.4 / ruby 2.3.0
running rails g spina:install
i get the following trace after naming the website:
Running via Spring preloader in process 20063
create config/initializers/spina.rb
create config/initializers/themes/default.rb
rake spina:install:migrations
Copied migration 20160115135442_create_spina_tables.spina.rb from spina
rake db:migrate
== 20160115135442 CreateSpinaTables: migrating ================================
-- create_table("spina_accounts", {:force=>:cascade})
-> 0.0062s
-- create_table("spina_attachment_collections", {:force=>:cascade})
-> 0.0006s
-- create_table("spina_attachment_collections_attachments", {:force=>:cascade})
-> 0.0007s
-- create_table("spina_attachments", {:force=>:cascade})
-> 0.0006s
-- create_table("spina_colors", {:force=>:cascade})
-> 0.0005s
-- create_table("spina_inquiries", {:force=>:cascade})
-> 0.0006s
-- create_table("spina_layout_parts", {:force=>:cascade})
-> 0.0007s
-- create_table("spina_lines", {:force=>:cascade})
-> 0.0011s
-- create_table("spina_page_parts", {:force=>:cascade})
-> 0.0009s
-- create_table("spina_pages", {:force=>:cascade})
-> 0.0008s
-- create_table("spina_photo_collections", {:force=>:cascade})
-> 0.0009s
-- create_table("spina_photo_collections_photos", {:force=>:cascade})
-> 0.0005s
-- create_table("spina_photos", {:force=>:cascade})
-> 0.0005s
-- create_table("spina_structure_items", {:force=>:cascade})
-> 0.0006s
-- add_index("spina_structure_items", ["structure_id"], {:name=>"index_spina_structure_items_on_structure_id", :using=>:btree})
-> 0.0008s
-- create_table("spina_structure_parts", {:force=>:cascade})
-> 0.0008s
-- add_index("spina_structure_parts", ["structure_item_id"], {:name=>"index_spina_structure_parts_on_structure_item_id", :using=>:btree})
-> 0.0006s
-- add_index("spina_structure_parts", ["structure_partable_id"], {:name=>"index_spina_structure_parts_on_structure_partable_id", :using=>:btree})
-> 0.0010s
-- create_table("spina_structures", {:force=>:cascade})
-> 0.0008s
-- create_table("spina_texts", {:force=>:cascade})
-> 0.0008s
-- create_table("spina_users", {:force=>:cascade})
-> 0.0007s
-- create_table("spina_rewrite_rules", {:force=>:cascade})
-> 0.0010s
== 20160115135442 CreateSpinaTables: migrated (0.0233s) =======================
create app/views/layouts/default/application.html.erb
create app/views/default/pages/homepage.html.erb
create app/views/default/pages/show.html.erb
What would you like to name your website? spina
/Users/jpowell/.rvm/gems/ruby-2.3.0/gems/activerecord-4.2.4/lib/active_record/attribute_assignment.rb:59:in `rescue in _assign_attribute': unknown attribute 'theme' for Spina::Account. (ActiveRecord::UnknownAttributeError)
from /Users/jpowell/.rvm/gems/ruby-2.3.0/gems/activerecord-4.2.4/lib/active_record/attribute_assignment.rb:54:in `_assign_attribute'
from /Users/jpowell/.rvm/gems/ruby-2.3.0/gems/activerecord-4.2.4/lib/active_record/attribute_assignment.rb:41:in `block in assign_attributes'
from /Users/jpowell/.rvm/gems/ruby-2.3.0/gems/activerecord-4.2.4/lib/active_record/attribute_assignment.rb:35:in `each'
from /Users/jpowell/.rvm/gems/ruby-2.3.0/gems/activerecord-4.2.4/lib/active_record/attribute_assignment.rb:35:in `assign_attributes'
from /Users/jpowell/.rvm/gems/ruby-2.3.0/gems/activerecord-4.2.4/lib/active_record/core.rb:564:in `init_attributes'
from /Users/jpowell/.rvm/gems/ruby-2.3.0/gems/activerecord-4.2.4/lib/active_record/core.rb:281:in `initialize'
from /Users/jpowell/.rvm/gems/ruby-2.3.0/gems/activerecord-4.2.4/lib/active_record/inheritance.rb:61:in `new'
from /Users/jpowell/.rvm/gems/ruby-2.3.0/gems/activerecord-4.2.4/lib/active_record/inheritance.rb:61:in `new'
from /Users/jpowell/.rvm/gems/ruby-2.3.0/gems/activerecord-4.2.4/lib/active_record/persistence.rb:33:in `create'
from /Users/jpowell/.rvm/gems/ruby-2.3.0/gems/spina-0.7.0/lib/generators/spina/install_generator.rb:29:in `create_account'
from /Users/jpowell/.rvm/gems/ruby-2.3.0/gems/thor-0.19.1/lib/thor/command.rb:27:in `run'
from /Users/jpowell/.rvm/gems/ruby-2.3.0/gems/thor-0.19.1/lib/thor/invocation.rb:126:in `invoke_command'
from /Users/jpowell/.rvm/gems/ruby-2.3.0/gems/thor-0.19.1/lib/thor/invocation.rb:133:in `block in invoke_all'
from /Users/jpowell/.rvm/gems/ruby-2.3.0/gems/thor-0.19.1/lib/thor/invocation.rb:133:in `each'
from /Users/jpowell/.rvm/gems/ruby-2.3.0/gems/thor-0.19.1/lib/thor/invocation.rb:133:in `map'
from /Users/jpowell/.rvm/gems/ruby-2.3.0/gems/thor-0.19.1/lib/thor/invocation.rb:133:in `invoke_all'
from /Users/jpowell/.rvm/gems/ruby-2.3.0/gems/thor-0.19.1/lib/thor/group.rb:232:in `dispatch'
from /Users/jpowell/.rvm/gems/ruby-2.3.0/gems/thor-0.19.1/lib/thor/base.rb:440:in `start'
from /Users/jpowell/.rvm/gems/ruby-2.3.0/gems/railties-4.2.4/lib/rails/generators.rb:157:in `invoke'
from /Users/jpowell/.rvm/gems/ruby-2.3.0/gems/railties-4.2.4/lib/rails/commands/generate.rb:13:in `<top (required)>'
from /Users/jpowell/.rvm/gems/ruby-2.3.0/gems/activesupport-4.2.4/lib/active_support/dependencies.rb:274:in `require'
from /Users/jpowell/.rvm/gems/ruby-2.3.0/gems/activesupport-4.2.4/lib/active_support/dependencies.rb:274:in `block in require'
from /Users/jpowell/.rvm/gems/ruby-2.3.0/gems/activesupport-4.2.4/lib/active_support/dependencies.rb:240:in `load_dependency'
from /Users/jpowell/.rvm/gems/ruby-2.3.0/gems/activesupport-4.2.4/lib/active_support/dependencies.rb:274:in `require'
from /Users/jpowell/.rvm/gems/ruby-2.3.0/gems/railties-4.2.4/lib/rails/commands/commands_tasks.rb:123:in `require_command!'
from /Users/jpowell/.rvm/gems/ruby-2.3.0/gems/railties-4.2.4/lib/rails/commands/commands_tasks.rb:130:in `generate_or_destroy'
from /Users/jpowell/.rvm/gems/ruby-2.3.0/gems/railties-4.2.4/lib/rails/commands/commands_tasks.rb:50:in `generate'
from /Users/jpowell/.rvm/gems/ruby-2.3.0/gems/railties-4.2.4/lib/rails/commands/commands_tasks.rb:39:in `run_command!'
from /Users/jpowell/.rvm/gems/ruby-2.3.0/gems/railties-4.2.4/lib/rails/commands.rb:17:in `<top (required)>'
from /Users/jpowell/.rvm/gems/ruby-2.3.0/gems/activesupport-4.2.4/lib/active_support/dependencies.rb:274:in `require'
from /Users/jpowell/.rvm/gems/ruby-2.3.0/gems/activesupport-4.2.4/lib/active_support/dependencies.rb:274:in `block in require'
from /Users/jpowell/.rvm/gems/ruby-2.3.0/gems/activesupport-4.2.4/lib/active_support/dependencies.rb:240:in `load_dependency'
from /Users/jpowell/.rvm/gems/ruby-2.3.0/gems/activesupport-4.2.4/lib/active_support/dependencies.rb:274:in `require'
from /Users/jpowell/Dropbox/Demo/spina2/bin/rails:9:in `<top (required)>'
from /Users/jpowell/.rvm/gems/ruby-2.3.0/gems/activesupport-4.2.4/lib/active_support/dependencies.rb:268:in `load'
from /Users/jpowell/.rvm/gems/ruby-2.3.0/gems/activesupport-4.2.4/lib/active_support/dependencies.rb:268:in `block in load'
from /Users/jpowell/.rvm/gems/ruby-2.3.0/gems/activesupport-4.2.4/lib/active_support/dependencies.rb:240:in `load_dependency'
from /Users/jpowell/.rvm/gems/ruby-2.3.0/gems/activesupport-4.2.4/lib/active_support/dependencies.rb:268:in `load'
from /Users/jpowell/.rvm/rubies/ruby-2.3.0/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require'
from /Users/jpowell/.rvm/rubies/ruby-2.3.0/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require'
from -e:1:in `<main>'
i did a empty project with 4.2.
after migrate i get when calling /admin the following error.
Showing /Users/wkh/.rvm/gems/ruby-2.2.1@rails42/gems/spina-0.6.28/app/views/layouts/spina/login.html.haml where line #11 raised:
".new_document .customfile:after" failed to @extend ".icon-refresh".
No selectors matching ".icon-refresh" could be unified with ".new_document .customfile:after".
Use "@extend .icon-refresh !optional" if the extend should be able to fail.
Extracted source (around line #517):
&:after
color: #bbb
@extend .icon, .icon-refresh
display: none
font-size: 36px
@include animation("rotate" 2s linear infinite)
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.