Displaying 20 results from an estimated 10000 matches similar to: "windows / migration issues"
2006 Nov 14
16
memory issues -- mongrel part of the problem?
Hi. I''m a fairly new mongrel user and have a scenario that I wanted
to run by you all, see if anyone''s synapses connect -- mine def.
aren''t!
I''m running a fairly simple rails app through a mongrel cluster (2
mongrels). This site is consistently sloooow -- memory on the server
is regularly paging (and shouldn''t be). ssh-ing in and running top
shows
2005 Dec 15
2
Migrations on SQLServer ??
Hello all,
I''ve spent a while looking for a sniff of this on the wiki or google at
large..
Does migrations work for SQL Server on 1.0 ?
--
------------------------------
Joyeux Noël
------------------------------
Peter Fitzgibbons
_______________________________________________
Rails mailing list
Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
2006 Mar 24
6
Microsoft SQL Server has me stumped
I''m tinkering around with an old legacy table in SQL Server 2000.
Ruby 1.8.4, most recent ADO.rb file from RubyForge, Rails 1.0
Here''s the model:
class InventoryItem < ActiveRecord::Base
set_table_name "[_SMDBA_].[_INVENTOR_]"
set_primary_key "sequence"
end
Everything works fine. I can retrieve records without issue.
However, when create a new
2008 Feb 19
20
Ruby on Rails and MS Access
How do I connect an existing or new Access database with Ruby on
Rails?
I am new to Ruby on Rails and a tutorial I am going through mentions
using MySQL but I don''t have MySQL and only work with MS Access.
Is MySQL available for free on the web? Thanks.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
2006 Aug 28
8
Railsy way to Export Database Schema?
Is there a nice way in rails to automatically extract an exising
database schema from an existing app and then in a new app automatically
create a database based on this schema?
--
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
2006 Mar 28
8
Problem connecting with an SQL Server 2000 database
Hi,
I?m working on a rails application that uses data from an existing ms sqlserver 2000 database.
Unfortunately I can?t get the connection to work properly.
I used http://wiki.rubyonrails.com/rails/pages/HowtoConnectToMicrosoftSQLServer to make the connection.
- Inserted the ado.rb
- Changed my database.yml to
development:
adapter: sqlserver
database: database_name
host:
2009 Jan 23
7
RubyOnRails with MS SQL - Connectivity Error
Hi all...
Please help me solve the issue.
While trying to create a connection with MS SQL database in RubyOnRails,
I''m getting a ‘Deprecated ..’ error. (I referenced a doc posted in net
for the same.)
System details: OS: Windows Xp
Ruby version: 1.8.6
Rails: 2.1.2
Gems: 1.3.1
RadRails: 0.7.2
2006 Jun 19
0
1 RAILSCONF TICKET FOR SALE
Looking to get rid of a railsconf ticket. (face value)
Let me know if you''re interested.
Clint
--
clint troxel _ openEndStudios.com _ 307.413.0366
http://openendstudios.com
2006 Feb 10
3
RoR, Apache 2, FastCGI
I have everything working and I am really excited about learning Ruby
and Rails. But whenever I access my different defs in my controller it
takes ~ 5 seconds before they are returned. I am working locally so I
don''t know what the issue is.
System Details:
Windows XP
Apache 2.0.55
Ruby 1.8.2
Rails 1.0
Seth Buntin
Web Resources Coordinator
Kentucky Academy of Technology
2008 Jan 15
1
actionmailer the background
I have bdrb successfully set up and running in a local project. It''s
doing two things:
1) processing large csv files and using ActiveRecord to insert
2) sending large batches of emails using ActionMailer
In development both work well. I see my ActionMailer emails in the
log (though it''s the development.log -- odd?)
On the production server csv processing works well, but
2006 Nov 04
0
excluding column from associations
Is there a recommended way to exclude a column from associations? for example:
Model Album
has_and_belongs_to_many :photos
Model Photo
has_and_belongs_to_many :albums
Photo Table
int :id
int :order
blob :data <-- the culprit!
--------------------------------------------------------
I''m caching the output of Photo.data in a controller, but i don''t want
to select
2006 Nov 04
0
leaving a column out of an association
Is there a recommended way to exclude a column from associations? for example:
Model Album
has_and_belongs_to_many :photos
Model Photo
has_and_belongs_to_many :albums
Photo Table
int :id
int :order
blob :data <-- the culprit!
--------------------------------------------------------
I''m caching the output of Photo.data in a controller, but i don''t want
to select
2006 Mar 24
10
Running Rails tasks by schedule, instead of an HTTP request.
Hi there
I''m considering Rails for a new web-application planned to be built
from scratch.
The application has an extensive web front, and in fact most of the
application is interfaced through that front and engaged through
clients'' HTTP requests (i.e. the conventional way web-applications and
"dynamic web-sites" work). However, some essential parts are supposed
to
2006 Jul 14
5
migration and inserting default data
Hi,
I''m wondering is there a way to load default data in the migration script?
So, for example I''m creating new table to store the order status, I also
want to pre-populate the table with some data from a sql file.
I have done a quick search on the list but cannot find anything.
thanks,
- reynard
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2006 Feb 21
7
Validation issues
I have a form. Everything submits into the database if I don''t have any
validation rules. When I put these rules:
validates_uniqueness_of :title, :message => "already exists in
database"
validates_presence_of :title
I get this error (which seems weird because I am not validating against
that):
You have a nil object when you didn''t expect it!
You
2006 Feb 17
4
Why doesn''t this work!
I have this in my controller...
@tech_standards = TechStandard.find_by_sql("SELECT * FROM tech_standards
WHERE subpoint <> 0")
Everything is fine except when I look at my view I still get supoints
that are 0. When I run this query in my query browser I don''t.
View:
<select name="resource[tech_standard]" id="tech_standard">
2006 Mar 04
7
Get ID after save
This is simple (I am sure) but how do you get the id of the inserted
element after the element has been save?
I thought it was something like this:
@product = Product.new(params[:product]
if @product.save
add_image(product.id, params["image"])
flash[:notice] = ''Product was successfully created.''
redirect_to :action => ''list_products''
end
2006 May 17
10
Weird error
What does this mean?
(eval):1:in `compute_type'': compile error
(eval):1: parse error, unexpected tINTEGER
Object::0
^
Anyone know? Any help counts!
Thanks in advance,
Mohammad(Programmer-22)
--
Posted via http://www.ruby-forum.com/.
2006 Mar 24
8
[OT] Does Net::HTTP support secure connections ?
Hi !
I''m trying to connect to an https URL, but it seems it doesn''t work.
Has anyone successfully connected from Ruby to an HTTPS server ?
Thanks !
--
Fran?ois Beausoleil
http://blog.teksol.info/
2006 Feb 13
7
Concatenation
I have this:
<%= @tech_standard.category + " " + @tech_standard.point + "." +
@tech_standard.subpoint %>
I get this error:
cannot convert Fixnum into String
point and subpoint are number.
How do I concatenate those values?
Seth Buntin
Web Resources Coordinator
Kentucky Academy of Technology Education
Murray State University
--------------