similar to: read-only access to database?

Displaying 20 results from an estimated 10000 matches similar to: "read-only access to database?"

2006 Feb 11
6
models and validation problem
In my model, I am attempting to correct some bad data rather than just pass an error message back to the user. The problem is that my fix seems to get the data past validation but it then puts the bad data into the database rather than the new(and improved) data. If I pass in web_site with the value of ''www.test.com'', it will pass validation but it won''t add
2006 Feb 10
3
Error: Before updating scaffolding from new DB schema, try creating a table for your model (Product)
Hi all, I''m new to Rails, I know this is a classic error, but I cannot resolve it anyhow :( This is my system config: Windows XP SP2 Ruby 1.8.2 -> installed using windows installer version Rails 1.0.0 MySql 4.1.10 I followed the instruction on rubyonrails.org, exactly step by step. But the error occur everytime I tried to generate scaffold or generate model. I tried to googling
2006 Feb 11
7
Rails development on Mac OS X 10.4 Intel
Hi all, I would like to start a thread on RoR related issues on the new Intel version of Mac OS X. I have been using Apple''s new iMac Core Duo (which comes with Intel version of Mac OS X) for about a week now. Here''s my experience: Ruby 1.8.4: It compiles albeit with many warnings. Most warnings were about "differ in signedness". It seems to work okay
2006 Mar 06
20
How painful is the 1.0 -> 1.1 upgrade going to be?
Does anyone have a sense for how painful the 1.0 -> 1.1 upgrade is going to be for existing apps? I''m finishing up my first real RoR application with Rails 1.0. I can live with it staying at that level, but I really want to use the has_many :through attribute to clean up some of my code. I''m not particularly interested in edge Rails, mainly because the documentation for
2006 May 18
4
Can I send rendered .html to somewhere besides the web server?
Is there any way to tell Rails to send the .html file it renders somewhere other than the web server? I need to save a page to the server''s file system instead of sending it to the user''s browser. Thanks! Bill -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060518/facce47e/attachment.html
2006 Jan 05
10
OT -- A "HOWTO" is a guide not a question.
This is way offtopic, but I''ve seen this several times recently and it''s annoying me. If you put "HOWTO" in your subject that means that you''re posting a guide on a particular topic. It doesn''t mean that you''re asking a question about "how to" do something. It''s not like it''s a crisis, but it screws up searches
2006 Apr 02
1
How to count number of pages in a PDF?
Does any know a simple way to count the number of pages in a PDF file? I''m using teh RTEX plugin to generate a PDF via pdflatex with a defined start page number. I want to determine the final page number so I can start the next PDF in sequence. Thanks in advance for your help! -cal
2006 Aug 11
10
OT -- What is with all the fragmented threads recently?
Is it my imagination or has there been a huge increase in the number of fragmented threads in the last several days? Maybe it''s Gmail doing something crazy, but I see dozens of top-level conversations starting with replies (ex. "Re: [Rails] omfg something broke"). Did people collectively forget what the "reply" button looks like, or is the list software doing
2006 May 19
6
Capistrano: update instead of checkout?
Hello, Just started to use Capistrano for deployment and everything works beautifully and as advertised. Thanks Jamis for this great piece of software. However, in my case, the deploy task takes quite some time since my SVN repository resides on a different continent than my app/db server and I''ve frozen all the rails code in the vendor dir and checked in. All in all my app sums up to
2006 Mar 24
3
Using Tags in Applications
I''ve been contemplating the utilization of "tags" functionality for categorizing records in my application. For example, a record can have any tag associated with them: volunteer, donor, phone_caller, etc. (Much like delicious) Has anyone already laid out a good architecture for implementing this on the DB, or other medium? I''m sure I can custom build something, but
2006 Aug 06
4
Can''t run rails
Yesterday, I was having a problem with db:migrate. I was told my version of rails was too old, and I needed to install it from gems instead of the version in my version of Ubuntu. Since then, I''ve done that, and I built ruby 1.8.4 from source and installed it. The installation was to /usr/local/bin. As my distribution had put ruby 1.8.3 in /usr/bin, I renamed that and put a link to
2006 Aug 09
11
Query Offset Parameter problem
Greetings, I''m trying to make a simple logging application that just displays the last few rows of information in the log. In order to do this, I am trying to use the ":offset" option for find. However, I am not getting the results I expect. For testing purposes, the query is being run against a table (MySQL) that contains 11 records. According to the RoR documentation,
2006 Apr 04
4
How to read rails documentation
One of the criticism I have heard about rails is that the documentation is bad. I must admit I have a hard time trying to follow it and I wonder if anyone can shed some light on it for me. For example, I am looking at the schema.rb file generated and I noticed this line: create_table "accounts", :force => true do |t| I thought to myself, what does :force => true mean? So I
2006 Aug 17
6
Memory error
I''m using ruby on rails on a Macbook Pro with sqlite3. I''m finding that memory for the ruby process stays about 20mb until I hit an error after which the mermory doesn''t seem to be released and keeps going up until I can''t use my machine. What could be causing this? is it using sqlite3? have I set up rails or ruby wrong? Tim -------------- next part
2006 Jan 09
6
What is AJAX?
What is AJAX? SteveT Steve Litt Author: * Universal Troubleshooting Process courseware * Troubleshooting Techniques of the Successful Technologist * Rapid Learning: Secret Weapon of the Successful Technologist Webmaster * Troubleshooters.Com * http://www.troubleshooters.com
2006 Feb 09
3
[JOB] RoR/PHP Developer needed - London, SW2
NO AGENCIES PLEASE With that out the way, we (http://www.firebox.com) are looking for a web developer to join our existing small development team. Here''s the posting from our website[1]: ==== Web Developer (ref W200) Reporting to: Technical Director This permanent, full-time role involves developing the Firebox website and internal admin tools. You will be working in a small team on
2006 Aug 16
18
mongrel lighttpd and ssl
I am wanting to one run instance of lighttpd, many many instances of mongrel. I also need ssl but only for one of my sites. I understand that Mongrel does not play with SSL so I am forced to use Lighttpd. I think that lighttpd only handles ssl or non-ssl on any given instance. Is there a way for me to accomplish my goal of one lighttpd with multiple mongrels and the occasional ssl connection? --
2006 Sep 11
7
Safari Browser problems
I can browse a site I developed/deployed to Apache 2.2.3/Mongrel from PC/s with Firefox/Explorer. I can''t browse from Mac Safari? I checked these setting and it still doesn''t work... http://docs.info.apple.com/article.html?artnum=151263 I don''t know Mac''s, what esle could this be? Jim
2006 Jun 20
4
Newbie Question to Get Rolling on Rails
I''m not sure if this is the right place to ask such questions. If not, my apologies and please direct me where such questions are handled. I am new to RoR and have been following the tutorial in Agile Web Developement with Rails. I have successfully gotten RoR up and running on my Mac (OS X 10.4.6) and created a MySQL database. However, on page 57 of the tutorial, the command
2006 Mar 17
3
Best debugger for Rails on Linux
A quick survey... what''s the best gui debugging tool for Rails 1.0 on Linux that you''ve used? SW versions? Personally I''ve tried FreeRIDE 0.95 and RDT 0.7.0 in Eclipse 3.1.2. Both are very slow and the latter got quite a few bugs itself. TIA! -- Posted via http://www.ruby-forum.com/.