alisoftware
proxy_set_header X-Forwarded-Ssl on;
GitHub
getting "Can't verify CSRF token authenticity" even if csrf toke in present · Issue #2734 · plataformatec/devise
I'm doing simple authentication (without ajax or api) and getting error for csrf authenticity token. I'm using latest version of rails and devise check the post request below Parame...
Index untuk pencarian dari query LIKE/ILIKE di postgres, salah satu cara mempercepat waktu eksekusi query.
https://niallburkley.com/blog/index-columns-for-like-in-postgres/
https://niallburkley.com/blog/index-columns-for-like-in-postgres/
Niall Burkley's Developer Blog
Index Columns for `LIKE` in PostgreSQL
Adding indexes for (i)LIKE searches in PostgreSQL
Bagaimana cara mengaplikasikan module postgres trigram (pg_trgm) di aplikasi Rails?
https://stackoverflow.com/questions/18725081/rails-4-pgsql-add-index-with-type-gin-or-gist
https://scoutapm.com/blog/how-to-make-text-searches-in-postgresql-faster-with-trigram-similarity
https://www.sitepoint.com/awesome-autocomplete-trigram-search-in-rails-and-postgresql/
Singkatnya:
#psql #postgresql #postgres #gin #index
https://stackoverflow.com/questions/18725081/rails-4-pgsql-add-index-with-type-gin-or-gist
https://scoutapm.com/blog/how-to-make-text-searches-in-postgresql-faster-with-trigram-similarity
https://www.sitepoint.com/awesome-autocomplete-trigram-search-in-rails-and-postgresql/
Singkatnya:
rails generate migration AddPgTrgmExtensionToDB
rails generate migration AddIndexColumnToTables
class AddPgTrgmExtensionToDb < ActiveRecord::Migration[5.0]
def change
enable_extension :pg_trgm
enable_extension :btree_gin
end
end
class AddIndexColumnToTables < ActiveRecord::Migration[5.0]
def change
add_index :tables, :column, using: :gin
end
end
#psql #postgresql #postgres #gin #index
Stack Overflow
Rails 4 pgsql add_index with type GIN or GiST
In Rails it is possible to do:
add_index :table, :column_name, :using => 'btree'
Is it possible in Rails 4 with PGSQL to add a GIN or GiST index like:
add_index :students, :name, :using =>...
add_index :table, :column_name, :using => 'btree'
Is it possible in Rails 4 with PGSQL to add a GIN or GiST index like:
add_index :students, :name, :using =>...
Ruby Indonesia Channel
Channel berisi seputar informasi, berita, dan tutorial Ruby dan framework seperti Rails
https://t.me/rubyidchan
Channel berisi seputar informasi, berita, dan tutorial Ruby dan framework seperti Rails
https://t.me/rubyidchan
Telegram
Ruby Indonesia Channel
Channel berisi seputar informasi, berita, dan tutorial Ruby dan framework seperti Rails