similar to: debugging

Displaying 20 results from an estimated 1000 matches similar to: "debugging"

2006 Jun 08
7
The Agile Book Messageboard?
Hello. Where is there an Agile Messageboard? On the first part of the Depot example, a price field shouldn''t be an integer right? (it should be more of a float since a price has decimals) Dominic Son -- Posted via http://www.ruby-forum.com/.
2006 Jul 01
3
Where to solicit bids on RoR project?
Where is the best place to solicit bids on a mid-size web app? (budget ~$15,000) What is the appropriate protocol for posting RoR RFPs? Thanks! Taylor -- Posted via http://www.ruby-forum.com/.
2009 Feb 26
2
rails spell check
Is ruby on rails supports aspell spell check ? Is there any links for spell check for rails application ? All links I gone through are discussing about php but not ruby on rails? Plzzzzzzzzzz give me reply .... --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this
2008 Oct 06
2
textilize with --- (3 dashes) removes text
Hi, using --- (3 dashes) at the end of a string that is textilized, results in a single hr tag without any text. This seems weird to me. Am I overlooking something? >> av = ActionView::Base.new >> av.textilize("sometext ---") => "<hr />" Cheers, Jan --~--~---------~--~----~------------~-------~--~----~ You received this message because you are
2009 Feb 19
5
creating virtual hosts with Mongrel?
Does anyone know how to use Mongrel to create virtual hosts? My production site will have all kinds of domains pointing to it, and I also need to figure out how to do subdomains. Rails should react to the host name, doing a lookup based on the name and pull different records from the database based on this. For example, I''d like www.mysite.com to point back to 127.0.0.1:3000, and the
2008 Dec 27
1
Trouble with MacPorts install, .profile file not created/ need help
I have just installed MacPorts 1.7.0 for Leopard using a downloaded .dmg file. Following the download and installation, I looked for the .profile file to change the environment variables, but found that no .profile file was created. When I tried to do so, I got an error message: /Applications/TextEdit.app/Contents/MacOS/TextEdit .profile 2008-12-27 14:19:02.393 TextEdit[47100:10b] ***
2006 Apr 28
6
SSL and url_for
Hey, all! I''m having a url problem that seems like I''m going to overcomplicate it if I don''t just ask what I''m doing wrong... My situation is that I''m testing to see if a visitor is accessing a controller via SSL, and if not, redirect to the same controller via my secure address. This really only amounts to replacing http with https, and so I did the
2006 Jun 30
5
Off Topic - Image size convertor?
I''ve been googling around, and have found a lot of tools to convert images to the right pixel size - anyone have a good command line based one for linux? Also, how do you issue a command from a rails app? Thanks, Ben Lisbakken -- Posted via http://www.ruby-forum.com/.
2006 Jun 24
8
PostgreSQL on Mac?
Is there something like MAMP, but uses PostgreSQL instead? I found a couple PostgreSQL dmg''s, but one was < 8.x. For those who use PostgreSQL on Mac, how''d you install it (fink, package, please don''t say compile!)? Thanks, Joe -- Posted via http://www.ruby-forum.com/.
2009 Aug 06
18
Best Practices Question
Should models call action mailers, or should those calls always originate from controllers? For example, should user.forgot_password send the email, or should the user_controller.forgot_password? Just looking for some opinions... Thanks, Tom
2006 Apr 28
3
Handling errors - incorrect value entered in url...
I have many "edit" actions in my project. If the url is like http://localhost/project/3/edit and someone enters http://localhost/project/3333333/edit the edit action will fails because it cannot find a project with id of 3333333. To combat this I am adding to every action like edit: rescue redirect_to :action => ''index'' flash[''errors''] =
2008 Sep 02
7
Deploying My Rails App
I have just finished my first Rails application following the lynda.com tutorial, but I am not sure how to get my application on the internet. I have an ftp account through the applemachine server, but from what I have read, I''m afraid I will not be able to host my application there. What I am looking for is step by step directions on how to get from a working Ruby on Rails application
2008 Jan 04
7
best way to modify spec (the command-line tool)?
Hi all, where I work we''ve cooked up a kind of ghetto profiler for our specs. It basically just does this: time = Time.now # run the spec puts "woah! dude. long spec." if time > 1.second I''m simplifying here. I think the threshold is actually 0.1 seconds, and we use more precise language, and highlight the spec in red via terminal colors, etc. But the way it works
2006 Apr 29
2
nuby migration question -- data migration, MySQL => postgresql
How do I best migrate the data? For small databases I can text-edit the dump file from MySQL. The postgresql compatibility switch doesn''t help on mysqldump. Any ideas. Can MySQL export CSV that postgresql can import ? W Fred -------------- next part -------------- An HTML attachment was scrubbed... URL:
2006 Apr 28
2
validates* gives me problems
Hi, In Debian/testing (mysql-5.0.20, ruby1.8, rails 1.1.0) Im trying to follow up the fourdaysonrails tutorial, and when putting: validates_uniqueness_of :category, :message => "Already exists" in /myapplication/app/model/category.rb I get: NoMethodError in Categories#create undefined method `category'' for #<Article:0x407f6418> RAILS_ROOT:
2006 May 01
7
ActiveRecord and Database Views
Hiall, If I have say 10 tables that i would like to wrap up in 1 view to manipulate data inside these tables, do I then need 10 model.rb files for all 10 tables plus 1 for the view, or do I just need 1 model.rb file for the view ? cheers Martin
2009 Aug 17
3
Difference Between ROR and Django...
Hi I am the newbie to both Django as well as ROR.... Which one i have to choose as my carrier one.... And what is the main difference.... Djkango in Python & It is in Ruby.. which one is best to easy learn and about security Thank you... -- WithRegards... K.Ramkumar Blog at http://fallinlinux.wordpress.com/ contact : 97915 89522
2005 Dec 21
2
what is print_r in rails
hey, i know u have in php print_r or echo, so that the browser print the variable on top of page, no matter what what is this in rails?? put doesnt seem to work Thanks Nick
2006 Apr 29
5
Getting Session ID
I thought I understood how to grab the session id but in the following code I am getting null for the session id: @foo = Foo.new(:session_id => session[:session_id], :test_id => @test.id) -- Posted via http://www.ruby-forum.com/.
2006 May 18
7
Ruby Before Rails
As I, like many people, are coming to ruby in the rails era, I''m curious about how Ruby Web Dev was done prior to rails. Any veterans want to share their insights? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060518/20cde24d/attachment.html