Comments (7)
Hi Kevin, there's nothing "officially" being worked in. If you—or anyone—get something running, let me know! Russell.
from casein.
Hi Russell,
I have a working fork that solves the authlogic issue (simply updating it) that I use for one of my projects. I was thinking it might be neat to support actiontext for the admin pages. If you don't mind I would definitely be up for giving rails 6 support a shot!
Kevin
from casein.
Sounds great! If you do go ahead, then keep basic Rails 6 support and Action Text in separate PRs. Otherwise, thanks!
from casein.
I keep getting an error with capybara when I try and setup the database tables for development. I'm using the command rake db app:db:migrate app:db:test:prepare
to setup development. I keep getting the below error in my terminal.
kevins-MacBook-Pro:casein kevinkawai$ rake app:db:migrate app:db:test:prepare
rake aborted!
Errno::ENOENT: No such file or directory @ rb_sysopen - log/capybara_exceptions.log
/Users/kevinkawai/src/open_source/casein_fresh/casein/spec/rails_test_app/config/environment.rb:7:in `<top (required)>'
Caused by:
Errno::ENOENT: No such file or directory @ rb_sysopen - log/capybara_exceptions.log
/Users/kevinkawai/src/open_source/casein_fresh/casein/spec/rails_test_app/config/environment.rb:7:in `<top (required)>'
Tasks: TOP => app:db:migrate => app:db:load_config => app:environment
(See full trace by running task with --trace)
Any idea what I could be doing wrong?
from casein.
Do you get the error if you follow the Casein instructions word for word? Is it just an error from setting up the test database?
from casein.
yup, it looks like something to do with how I have the rails environment setup. When I specified the environment I was able to get it to continue.
RAILS_ENV=test rake app:db:migrate app:db:test:prepare
After solving this, rails told me that I can't inherit from ActiveRecord::Migration
directly.
StandardError: Directly inheriting from ActiveRecord::Migration is not supported. Please specify the Rails release the migration was written for:
class CaseinCreateAdminUsers < ActiveRecord::Migration[4.2]
/Users/kevinkawai/src/open_source/casein-fresh/spec/rails_test_app/db/migrate/20141220224414_casein_create_admin_users.rb:3:in `<top (required)>'
Once I fixed this problem I was able to get the database setup and the specs to work. I have a loose feeling that it might have to do with the version of rails the dummy app uses but I'm not really familiar with how it's setup so I'll do some more research. Do you by chance have any guesses on why this happens?
from casein.
@Kevin-Kawai have you published the rails 6 supported branch?
from casein.
Related Issues (20)
- casein 5.4.0 authlogic HOT 1
- Webpack Rails 5
- Use UTC in views and basecamp/local_time to convert to users’ local time HOT 5
- OmniAuth? HOT 1
- Override Casein templates HOT 1
- [calibration error] scrypt.rb:142:in `__sc_calibrate' HOT 1
- How can I generate admin users view HOT 3
- Rails 5? HOT 18
- Polymorphism HOT 1
- Using Bootsy WYSIWYG with Casein HOT 3
- how can I create an admin user in production env? HOT 1
- Possibility to use mongo db HOT 5
- Casein 5.2 - AdminUserSessions#new HOT 4
- has_many models within the form HOT 3
- Renaming the casein route HOT 1
- Redirecting to localhost HOT 5
- Glyphicons not working HOT 1
- Requirement of another ruby version HOT 2
- SQLite deprecation message when run rspec HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from casein.