I've run into a problem with this migration; although, I am using 'change_column'. The error is "TypeError: can't quote Array". Any idea why this might be the case?
First of all, thanks for making these videos, but I have a problem with this video tutorial. This is a "TypeError: can't quote Array" error. From what I understand you are using postsql, right? And I use sqlite3. Can you help me with this issue?
Nice content as always. Do you think it's possible to make a video (or series if it's a larger "problem") on how to correctly setup AWS to start programming in the online IDE? :)
Hi Thank you for making this video. I am having this error when I add a new column with array. rails aborted! StandardError: An error has occurred, this and all later migrations canceled: can't quote Array
@@ahartami1014 Can you be more specific how you solved the issue? An statement like "add_column :posts, :tags, :text, serialize: subcategory, array: true, default: [ ]" does not work. Thank you!
Please don't do tags like that. it's pretty basic impelementation of tags that will be nightmare in any production environment. It's even not worth to use with elastic or full text search engines. Seems like crazy to do it in 2021/2022.
First of all, thanks for making these videos, but I have a problem with this video tutorial. This is a "TypeError: can't quote Array" error. From what I understand you are using Postgres, right? And I use SQLite. Can you help me with this issue?
Спасибо. Хорошее и полезное видео. Ничего лишнего, все по сути. Автору респект! Так держать.
superb...the way of explanation
love your content exactly what i needed
Hello Nathan! Glad it helped!
Thanks for the tutorial!
I've run into a problem with this migration; although, I am using 'change_column'. The error is "TypeError: can't quote Array". Any idea why this might be the case?
First of all, thanks for making these videos, but I have a problem with this video tutorial. This is a "TypeError: can't quote Array" error. From what I understand you are using postsql, right?
And I use sqlite3. Can you help me with this issue?
i used check box tag,it is getting inserted but not showing values
Nice content as always. Do you think it's possible to make a video (or series if it's a larger "problem") on how to correctly setup AWS to start programming in the online IDE? :)
Good idea! Will create an episode covering AWS Cloud9 IDE next week. Will be #53!
@@SupeRails great! That'd be interesting for me (and others I guess) as I want to get started with it aswell :). Thanks for your nice work!
lets say we have searcy filters that we want to add this checkbox options to filter out posts. how can we do it?
If we are using the Array type does this mean it's Postgres only?
Can it be used with images?
Hi Thank you for making this video. I am having this error when I add a new column with array.
rails aborted!
StandardError: An error has occurred, this and all later migrations canceled:
can't quote Array
I have solved the issue by adding 'serialize :subcategory, Array' in my Project Class. Thank you a lot, your tutorial is very helpful.
@@ahartami1014 thanks for also posting your solution!
@@ahartami1014 Can you be more specific how you solved the issue? An statement like "add_column :posts, :tags, :text, serialize: subcategory, array: true, default: [ ]" does not work. Thank you!
first!
Please don't do tags like that. it's pretty basic impelementation of tags that will be nightmare in any production environment. It's even not worth to use with elastic or full text search engines. Seems like crazy to do it in 2021/2022.
this has nothing to do with a Tags feature.
I would be doing Tags with a has many through feature.
@@SupeRails It's tags db filename here, so kinda looks like a tags, and it does not support spaces inside words.
db:migrate add_tags_to_posts.rb with "add_column :posts, :tags, :text, array: true, default: [ ]" gives error - "can't quote Array". I am using Rails 7
First of all, thanks for making these videos, but I have a problem with this video tutorial. This is a "TypeError: can't quote Array" error. From what I understand you are using Postgres, right?
And I use SQLite. Can you help me with this issue?