Displaying 20 results from an estimated 10000 matches similar to: "Debugging live app"
2007 Apr 23
3
Troubles with using gems in Rails
Hi!
I''m observing some problems using gem inside Rails. My understanding is
that after following sequence in irb:
$ irb
irb(main):001:0> require ''rubygems''
=> true
irb(main):002:0> require ''active_record''
=> true
irb(main):003:0> gem ''acts_as_taggable''
=> true
I should have access to acts_as_tagable mixins, like:
2006 Mar 14
2
RDT and breakpointer
How to get Rails'' script/breakpointer work in RDT 0.7 in Eclipse 3.1.2?
I''m new to Rails and have gotten breakpointer working in a csh on Fedora
Core 4. Also, the RDT setup works for breakpoints set in straight Ruby
code. I''m trying
http://www.napcs.com/howto/railsonwindows.html#setupbreakpointer. But a
breakpoint set in Eclipse doesn''t get hit at all.
2006 Sep 12
2
Generate JS from RoR - strange delay with send_data
Hi!
I need to generate some JS from Ruby. This is no AJAX related stuff so
RJS templates are not help to me. Also I want to not mix JS with HTML,
so putting JS in .rhtml templates is no go for me.
Currently I made some action in controller, prepared JS code and I''m
sending it via send_data as ''text/javascript''. In .rhtml templates I use
<script> tag with src
2008 Oct 24
4
AR object return nil on save
Hi!
I''m upgrading existing app from Rails 1.2.6 to 2.1.2. I have
encountered following problem with AR objects.
Model definition did not change and with 1.2.6:
params={}
params[:flight] = "1111"
params[:airline] = "Air France"
params[:luggage] = 0
r=Reservation.new params
r.save
is working code, new Reservation. With the same dataset, changing only
2006 May 13
0
Rails version locking
Hi!
I''ve run on issue with sticking to older rails version on my boxes.
I tried to use
http://wiki.rubyonrails.com/rails/pages/HowtoLockToSpecificRailsVersions
but when running WEBrick (with proper changes to config/environment.rb),
it thorws error: can''t activate rails (<= 1.0.0), already activated
rails-1.1.2.
I did play a little with debugger and found out, that it
2006 Nov 18
0
java.lang.RuntimeException: Unable to execute interpreter: [
Hello,
New to Ruby, just installed InstantRails and RadRails. Upon creating a
project I get the messages below
In the Console
invalid option -- e
In the Ri tab
For help on options, try ''rdoc --help''
java.lang.RuntimeException: Unable to execute interpreter:
[C:/InstantRails/ruby/bin/ri, --no-pager, -l]null
at
2005 Aug 09
12
Eclipse with RDT
Has anyone used Eclipse with RDT
(http://wiki.rubyonrails.com/rails/show/RubyDevelopmentTools)? I have
never used Eclipse. Would it be worth my time to setup Eclipse with RDT
to create my first rails project?
2006 Jan 09
11
Fast Ruby Debugger?
After developing in Java for years in IDEs I''m starving for a decent ruby
debugger. When learning new codebasesI find it invaluable to use the
debugger to step through the system and see how things work at runtime.
Using RDT in Eclipse is fine but it''s excruciating to wait minutes for the
default debugger to finally reach my breakpoints on tests that normally take
seconds to
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/.
2008 Sep 04
3
MySQL connection collation
Hi!
I have ran on problem with collations. In database.yml I have set:
encoding: utf8, but when in console run:
>> ActiveRecord::Base.connection.collation
=> "latin1_swedish_ci"
It is Rails 2.1, mysql gem 2.7, mysql 5.1.22. This leads to errors like:
Mysql::Error: Illegal mix of collations (latin1_swedish_ci,IMPLICIT) and
(utf8_general_ci,COERCIBLE) for operation
2006 Feb 01
4
rails IDE
**hi I am just curious what IDE everybody uses to develop rails application.
I am using eclipse with RDT and RAD plugin. But for some reason kicking
debug session takes a lot of time. Do anyone experience this kind of
problem?
--
Rgds,
--Siva Jagadeesan
http://www.varcasa.com/
My First Rails Project. Powered by Typo and soon by RForum too
-------------- next part --------------
An HTML
2006 Apr 08
2
RadRails problems - any ideas
Hi, I''ve followed the rad rails instructions for importing a project and
have two issues.
First my console tab shows "Console is not available" I don''t know if that''s
significant or not, yet.
Second, I''ve created a WebBrick server, but it doesn''t respond when I try to
start it from withing RadRails. There''s no error shown.
2011 Aug 24
2
debugging functions in R
Hi,
I am not sure if this is the right list to ask this question (though I did
not find a more appropriate one).
I've started using R a month ago, and small scripts work fine. However, when
I start writing more complex code, it gets messy.
1. Is there any way to debug "normally", with breakpoints?
2. I am using the Eclipse plugin (StatET), and tried JGR(). Is there an IDE
that
2006 Dec 14
0
How to monitor variables in debug mode
I want to monitor variables'' value in debug mode. I tried both Eclipse
+ RDT and Radrails,but failed. The variable list is empty. It should
display current value of variables that live in environment. Do you
know how to fix this problem?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails:
2007 Mar 21
0
RSpec on Google Summer of Code
Google Summer of Code (GSoC) is starting soon, and there are two
suggestions for RSpec-related projects:
http://www.rubycentral.org/projects/soc2007/ideas
Although not on this list (yet) I''d love to see someone taking the
challenge to implement RSpec support in RDT/RadRails/Eclipse, NetBeans
or IntelliJ IDEA (or all of them!).
Other RSpec related projects are of course welcome too.
2006 Jul 18
1
RadRails and SVN
I installed the Eclipse 3.2, Subclipse, and RDT: http://updatesite.rubypeople.org/release and
RadRails: http://radrails.sourceforge.net/update.
I am getting the "Failed to load JavaHL Library" error message when I go to Preferences -> Team ->
SVN tab.
This is also happening in standalone RadRails installation. How can I fix this? TIA.
2005 Nov 25
0
Development environment?
Hey folks-
What is the preferred dev environment for Rails apps? I''m presently
using Eclipse with the RubyPeople RDT, but I''ve also heard of RadRails.
Are these comparable?
Jake
--
Posted via http://www.ruby-forum.com/.
2010 Nov 14
1
winedbg (w. gdb) and Eclipse (3.6)
I'm quite new to wine development but I have used winedbg and gdb a couple of times (in console).
Now Im trying to setup wine as an Eclipse project and so far everything works except debugging.
I am using Eclipse 3.6 on ubuntu and have set up a debug configuration where I changed the following (rest is default):
- C app: loader/wine
- gdb debugger: winedbg --gdb
When I try launching the debug
2008 Jul 30
2
Eclipse/Statet: How to set breakpoints
Hi,
I'm using the IDE Eclipse with the Statet-Plugin to develop R-code.
Is there a possibility to set breakpoints for debugging in R-script files
(just like in Java-code)?
Cheers,
Eli
2006 Feb 17
21
''Best'' IDE for testing and debugging
I''m trying to decide which IDE to go with for RoR development. I put a high premium on integrated test automated tools and debugging capabilities. I''d appreciate any sharing of experience.
I''m currently running Instant Rails on a Windows 2000 box (using IR due to problems I encountered trying to get all the components set up individually). Also, I''m using