Displaying 20 results from an estimated 2000 matches similar to: "Cheapest Rails Hosting where they give you full access to Apache (to load modules etc)???"
2009 Jan 14
6
How do I change MYSQL startup options on Mac??? (can't work it out)
Hi,
Can anyone help me out re how I change the startup options for mysql (v5.0)
running on my Mac? (I just want to add the "--log" option is about it). I
tried doing "sudo ./Library/StartupItems/MySQLCOM/MySQLCOM restart" however
this started a 2nd instances of mysql & mysqld.
Here is what I see start after Mac startup if this helps:
$ ps aux | grep mysql
_mysql 137 0.0
2006 Jul 23
18
help with "rake db:migrate" error please?
Hi,
Just trying to get my first database based rails app up on
dreamhost.com. The app was working prior to putting in mysql DB usage
but I''m just stuck on getting the app working with mysql. I''ve already
created the database and can connect to it manually.
Below is the error I get after running the rake migrate. It worked OK
on my home PC environment. I did change the
2009 Sep 16
12
Connecting to Oracle (Solaris Sparc 10)
My company''s System-admin installed Ruby and Gems (using Sun Coolstack
package) and I have sudo access to ruby, gem etc. Now I need to get my
app to talk to oracle db (through network).
From what I understand, it requires three steps:
Step 1: Install oracle instant client ( I installed it in my ~/oracle/
instantclient_11_1)
Step2: Install OCI8 libraries (this is where I am stuck). Here is
2009 Feb 09
5
"reaper" is not picking up new changes to my application???
Hi,
Can anyone shed any light on why "reaper" (whilst seemingly working re
restarting my mongrel ruby process) does not pick up changes to my
application? (e.g. changing a title in a view for example). It''s like the
"mongrel_rails start etc..." is just restarting the current process but
ignoring the new details re where the new application directory is. That
is
2009 Sep 16
5
piece of code that runs only once
hi, an strange error is happening here
in User model i have the following method:
def falta_votar
Category.find(:all) - votes.collect {|v| v.category}
end
and in the default.html.erb layout i have:
<%= current_user.falta_votar.size %>
but it only works once, when i try to access another page i get an
error message saying that the falta_votar method is nil, then i have
to restart
2009 Jan 11
6
Why does ActiveRecord allow perception of success when updating an ID, however it doesn't really work(i.e. no change in database)?
Hi,
Why does ActiveRecord allow perception of success when updating an ID,
however it doesn''t really work(i.e. no change in database)?
Here''s an example. The update of "id" versus update of a non-existent
attribute.
?> ai = AccountItem.find(:first) => #<AccountItem id: 1, account_id: 1,
date: "2009-01-11", amount:
2009 Nov 02
7
*** Quick help with paperclip ***
Hi All,
Someone reccomended using paperclip as a way to easily upload photos.
Basically I want a quick and easy solution to allow users to add a
profile picture.
Anyway - I have followed the tutorial on here:
http://jimneath.org/2008/04/17/paperclip-attaching-files-in-rails/
I can add a file, but there isnt anywhere to upload it.
I have followed the above tutorial word for word, but i dont
2009 Dec 03
2
AuthLogic Question - one time password (persistence_token) - what config is required to use this???
Hi,
I''m stuck trying to work this one out - have been reviewing the
AuthLogic code base but having a hard time making sense of it (
http://github.com/binarylogic/authlogic ).
Question 1 - Can anyone confirm what config exactly is required to
make the one time password (persistence_token) work in AuthLogic? See
below for the bulk...
Question 2 - If not the full answer to the above,
2008 May 11
8
From "schema.rb" file to MySQL
Hello,
I have write a schema.rb database such as this:
ActiveRecord::Schema.define do
create_table :arts do |t|
t.string :name, :null => false, :limit => 45
end
end
This file is saved into test/db/schema.rb, and test/config/database.yml
is correctly configured with "test_development" database created in a
MySQL server.
Could you help me to install the content of
2008 Jan 04
2
oracle adapter + activerecord sessions do not work
Anyone know what''s up with the activerecord session store when using
the oracle adapter in Rails 2.0.2 ?
I can set a session variable and can then see it''s actually set using
the debugger, but after the request completes the session is empty
(the @data member is nil). The session_id is staying the same and the
updated_at field is being updated but nothing I put in a session
2007 Nov 29
4
collection.build or collection.create gives "ArgumentError: wrong number of arguments (1 for 0)"
I have a Project that has_many Tasks. Tasks belongs to a Project. When
I try the following:
project = Project.new
project.tasks.build
I get:
>> s = Project.new
=> #<Project:0x25f9e28 @attributes={"name"=>"", "end_at"=>nil,
"updated_at"=>nil, "published_at"=>nil, "user_id"=>nil,
2007 Apr 01
5
On Topic: Cheapest Asterisk USB Key? (was: Re: Off Topic: Open Source USB Softphone)
Here's a flipside of this subject: what is the absolute cheapest Linux
device that can be connected to a PC's USB port? That has just enough
power for a minimal Asterisk server running on it. The Asterisk just
maintains a CDR database on its Flash memory, which it periodically
submits over the PC's network connection with an HTTP hit on a remote
full-service Asterisk server? No call
2008 Nov 20
7
windows tail development.log
Hi
unfortunately I have to develop on a windows machine from time to
time. But there is a little problem, mostly for debugging.
How can I get the same output on the console as in a linux box or on
the mac?
I don''t see the full output from the logger on the console.
How can I get the full output? SQL and so on
thank you veeery much!
Rafael
2008 Oct 25
9
Cheapest 4 port FXO
I need to increase reliability at an office as SIP/Internet provider outages are causing some issues.
What would be the least expensive analogue card that people are using reliably?
Thanks!
jlc
2007 Jan 12
3
Large file storage in database
I''m in the planning stage of an app that will store images and short
video clips approximately 1 meg in size from user uploads. My partner
wants to use the database to store all of the files, mainly for scaling
purposes.
I recently built a similar app using the filesystem, but that was to be
run from a single machine. This new app will have 3 application servers
and a fileserver
2010 Dec 31
6
HTTP Accept header wildcard breaks rails app
The thunderstone crawler (http://search.thunderstone.com/texis/
websearch/about.html) sends the folliowing HTTP accept header when
requesting pages
Accept: text/*, application/javascript, application/x-javascript
This results in a "Missing template" exception
text/* is valid. How do I tell my rails app to treat this as rhtml by
default instead of returning a 500?
Missing template
2008 Nov 07
15
any tricks re using " eql(5.5)", but where 5.5 is a decimal not float?
--
Sent from my mobile device
2008 Feb 04
7
Problems installing Rmagick on Ubuntu
I want to install Rmagick on Ubuntu 7.10, but i am getting this error
when running gem install rmagick:
Can''t install RMagick 2.2.0. You must have ImageMagick 6.3.0 or later.
(I installed imagemagick and libmagick9-dev prior to that)
I installed rmagick through Synaptic, and it says that i have version
7:6.2.4.5.dfsg1-2ubuntu1 installed (by the way, what does the 7
mean?). What should
2009 Sep 29
5
NoMethodError in Stories#show
I''m a Rails newbie and am working my way through Simply Rails 2 by
Patrick Lenz.
Have run into a problem on page 207 of the book; this is the error I
run into when I fire up my server and open up httpL//localhost:3000/
stories/new I have posted the error message and trace below.
Thanks in advance for your help.
2007 May 27
4
when will "TODO" comment/rake support come out?
Hi - quick question: when will "TODO" comment/rake support come out?
Tks
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group.
To post to this group, send email to rubyonrails-core@googlegroups.com
To unsubscribe from this group, send email to