similar to: :limit text mysql

Displaying 20 results from an estimated 20000 matches similar to: ":limit text mysql"

2010 Dec 14
4
Change primary_key column name
Hi, after changing a primary key column name, the auto-increment information (MySQL) and sequence (Oracle) are lost. What is the correct way to rename primary keys? Thanks, Gustavo -- 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
2010 Dec 12
3
Toto blog date issue - production only, localhost fine
I have this listed in the Toto Issues list on Git and know that it is affecting one other person and so far no ideas... just want to throw it out here if anyone else has had the issue or better yet has a fix: I have a pretty stock instance of Toto. Locally I run it on thin and everything works. When I push it to heroku, the index loads but on every article, instead of showing the date in the
2010 Nov 10
3
using DB2 with Rails 3
I have developed a rails 3 app and for various reasons I have been compelled to try using DB2 as the underlying database system. Does anyone have much experience of using DB2 with rails 3? Any good pointers on resources? I have just been using postgres to date -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on
2010 Nov 15
2
How to add an exe to Rails app
I have been hacking around with this for a bit but want to see if there is an easy way: I am using Heroku and I have the wkhtmltopdf static binary in: rails_root/vendor/wkhtmltopdf I am not using any plug ins for wkhtmltopdf, just the executable, on purpose and want to keep it this way. My code wants to execute wkhtmltopdf: # tell wkhtmltopdf to convert html file to pdf
2011 Jan 03
8
Heroku, needs constant AppController updates?
Dear All, Fairly new to rails and Heroku, so could be doing something wacky - do let me know if you think my code practice is off, even if unrelated to this error, I''d like to learn! I''m using Rails 3.0.0, ruby 1.8.7, and ''sqlite3-ruby'', ''1.2.5'', :require => ''sqlite3''. I''ve got an application that goes off and
2010 Nov 29
4
Error heroku: App Crashed
Hi , i developed a small application(which contails only static pages) . I tried to host that on heroku .just when everything was finished when i opened my site i,e http://floating-moon-89.heroku.com/ i am getting an error as App Crashed..where did it gone wrong? pls help... -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To
2013 May 01
3
PG gem behaves strange. It requires live DB connection to only generate a model. How to turn it off?
I used MySQL as a backend before. Now I had to move to PG since Heroku doesn''t have MySQL and forces everyone to use their Heroku-PG database. But PG virsion of Rails works diffidently. I cannot generate a model without PG server running: >> C:\ruby\Heroku\App>rails generate model Products >> >> C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/activerecord-
2010 Dec 10
2
News: Heroku bought: Salesforce wants some Ruby love: $212m goes a long way
News to me. Probably worth considering when choosing your deployment options. http://www.theregister.co.uk/2010/12/09/salesforce_why_buy_heroku/print.html Dreamforce 2010 Why would a company that spent 10 years delivering CRM as a service drop $212m in cash and $27m in stock on a 30-person startup that hosts Ruby on Rails apps for devs on Amazon? Salesforce.com vice president of technology and
2006 Jan 04
4
Need some implementation ideas :-)
Hi, I have good this cool challenge from my boss on developing a very simple cms-like system to publish articles within. The caveat is that he wants to have multi-lingual content. At first I thought RoR would be perfect for the assignment but right now I''m not so sure. My first attempt involved creating a table for each model/languagde like this: articles_en articles_dk articles_de
2006 Apr 10
10
Anyone has experience with railsplayground.com hosting ?
Im ready to start hosting and deploying some of my rails apps, im guessing if someone are using railsplayground.com shared hosting plan, right now im paying USD $35 for a half of disk space and transfer, with no rails support :( any advice its more than welcome :) -- Posted via http://www.ruby-forum.com/.
2011 Jan 25
2
Radmine
Hi, I know it''s a silly question, how to start Remine server? tried "./ctlscript.sh start" mysql (pid 8192) already running starting port 3001 starting port 3002 Syntax OK httpd (pid 8511) already running subversion (pid 8218) already running When I check localhost:8080/redmine Service Temporarily Unavailable Why is that? Thanks, gezope -- You received this message
2010 Jul 09
6
deployment question: has anyone deployed w. sqlite?
Hi, I''d like to make a demo version of my app available, but I''m not ready to get into database stuff, yet. Has anyone ever deployed with sqlite (what I used to develop my app)? If so, what hosting service(s) would you recommend? Thanks, Lille -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this
2011 Jan 02
6
Database Design
Hello, I have a user table that stores their username, email address, and password. (along with salt, etc) However, now I want to have more complex information associated with each user (address, etc). I''m no DBA expert, so in terms of performance, which is better: - A user table that has all the fields in it (Username, Email, password, country, state, zipcode, etc) - A user table that
2010 Jul 02
22
MySQL not Connected ...... *pull hair*
I''m trying to run " rake db:migrate " and im getting an error back: ------------------------------------------------------------------------ C:\wamp\www\demoproject>rake db:migrate (in C:/wamp/www/demoproject) rake aborted! Mysql::Error: query: not connected: CREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL) ENGINE=InnoDB (See full trace by running task
2010 Oct 19
1
What Amazon EC2 AMI do you recommend?
I''m looking at using EC2 for hosting deploying my Rails site. The reasons for the decision are these: I want something that will work for 10 users, but with capacity to expand to 10,000,000 if needed. EC2 starts at $15/month (before bandwidth) which seems reasonable even for a site in its infancy. And the costs seem to scale up well, along with the capacity. There isn''t the
2012 Oct 05
2
heroku rake db:drop error PG::Error: FATAL: permission denied for database "postgres"
How to empty DB in heroku<http://stackoverflow.com/questions/4820549/how-to-empty-db-in-heroku> I have a Postgres database on Heroku. It is one of the free beta ones. Locally, when testing, I often run rake db:drop && rake db:create && rake db:migrate as a way to reset the database. However, when I try to run this on Heroku, I get the error:\[code\]Couldn''t drop
2009 Nov 03
12
Mysql::Error: query: not connected
Hi there! I am PHP developer and trying to learn ROR. Currently I am building my first Rails website (OS X Snow Leopard, TextMate) and decided to switch from sqlite to mysql. After many-many hours of searching the internet I managed to install mysql gem. Now I get this error when I try to run rake migrations: rake aborted! Mysql::Error: query: not connected: CREATE TABLE `schema_migrations`
2010 Mar 04
25
how to share variables in data migrations (up/down)
hi there, How do we share variables in a given data migration? For example, the code below fails to work because "statuses" don''t seem to be in scope for both up and down. class AddDefaultValuesToStatuses < ActiveRecord::Migration statuses = [ { ''details'' => ''details'', }, {
2011 Jan 17
6
Can't install mongrel with ruby 1.9.2p136
Hi, I''m getting this error message when I try to install Mongrel with "gem install mongrel" on Windows 7 x64 gem install mongrel Successfully installed mongrel-1.1.5-x86-mingw32 1 gem installed Installing ri documentation for mongrel-1.2.0.pre2-x86-mingw32... Installing EDoc documentation for mongrel-1.2.0.pre2-x86-mingw32... ERROR: While executing gem...
2010 Feb 07
4
Optimizing ActiveSupport with native code
I''ve had this idea kicking around in my head for a while, and had some time yesterday to start playing around with it: ActiveSupport is heavily used in both the Rails library code and in the application layer of a typical Rails stack. Certain parts of AS would be much more efficiently implemented in C rather than Ruby; that optimization could potentially have some noticeable, positive