Hi,
I am trying to implement an autocomplete form with rails, I used jquery
in a first version, to suggest phrases to user and it worked
Now I am trying to have a service of autocomplete word by word, it means
when the user it typing in the text area, I suggest only words and not
phrases and when
Hi,
I have a text_field_value that I want to set the value dynamically,
I use this script:
$(function() {
$(#keypress).keypress(function() {
alert(from keypress);
$(this).value = a ;
return false;
})
})
the alert is shown but the value of the
thx for ur answer,
Yes I am working on dev env and it can explain the slowness
in server log, I see that every time I change the page it execute a sql
query using limit and offset
regards,
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the
Hi,
I am realizing my first application in Rails (with tutorials), I
implement a pagination solution with will_paginate gem, it works well
but the problem is: changing pages is very slow and I think the query is
executed every time the page is changing
Is there a solution to get faster pagination
Ok,
I dropped the schema blog, I change the pwd and I change the adapter
like this:
development:
adapter: mysql2
encoding: utf8
database: blog_dev
pool: 5
username: root
password:
socket: /tmp/mysql.sock
I execute rake db:create and I get the following error stack:
** Invoke
I found this too in internet, but I don't know how to do it?
how to get gem mysql2 in gemfile and what gemfile exactly?
regards,
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups Ruby
on Rails: Talk group.
To post to this
I changed the gem file and succeeded with the db:create and created the
three databases only for once after that I can't use any of my mysql
database connections not only in ror applications
the message is : Access denied for user 'root'@'localhost' (using
password: YES)
I download the lib libmysql.dll
and I delete the line about password and It worked (i have a routing
error but this is not serious)
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups Ruby
on Rails: Talk group.
To post to
hi, this is the stack trace:
activerecord (3.1.3)
lib/active_record/connection_adapters/abstract/connection_pool.rb:409:in
`retrieve_connection'
activerecord (3.1.3)
lib/active_record/connection_adapters/abstract/connection_specification.rb:115:in
`retrieve_connection'
activerecord (3.1.3)
rake db:create : ends without any message
rake db:migrate: ends with error message
** Invoke db:migrate (first_time)
** Invoke environment (first_time)
** Execute environment
** Invoke db:load_config (first_time)
** Invoke rails_env (first_time)
** Execute rails_env
** Execute db:load_config
rake
It was just a copy/paste error, and I change it as fast as possible
please erase the part of the pwd
else I try it too with mysql2 and I had the same message
I create the db manually with Mysql workbench
regards,
--
Posted via http://www.ruby-forum.com/.
--
You received this message because
Hi,
I am trying the tutorial in:
http://guides.rubyonrails.org/getting_started.html
when I try to navigate to http://localhost:3000 after the 4.3 change
I get the error : ActiveRecord::ConnectionNotEstablished
and I don't know how to solve it
the database.yml file is:
adapter = mysql
host =
yes rake db:create succeded, it ended without error
I used mysql2 and didn't work too
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups Ruby
on Rails: Talk group.
To post to this group, send email to
13 matches
Mail list logo