You need to call .reset_column_information in third migration. Please refer
https://api.rubyonrails.org/classes/ActiveRecord/ModelSchema/ClassMethods.html#method-i-reset_column_information
for details.
You can insert and update data in migration, but you might want to consider
using db/seeds.rb in
Hi,
Before using `gon.variable`, do you call `include_gon` somewhere in your
view?
HTH,
:eito
On Tue, Sep 29, 2015 at 6:01 AM Colin Law wrote:
> I am developing a rails gem. It uses the gon gem so in the gemspec
> file I have included
>
> spec.add_dependency 'gon'
>
> Then in the Gemfile for
2 matches
Mail list logo