search for: rvince99

Displaying 13 results from an estimated 13 matches for "rvince99".

Did you mean: rvince
2009 Dec 12
2
View change on db field change
I have an issue whereby, say I have a button in a view......that shows one way if a boolean field in a db is true, and another way when it is false. When the value of that field in the db changes, I want the button;s state in the view to change as well. How would you guys recommend I do this? Thanks, R.Vince -- You received this message because you are subscribed to the Google Groups "Ruby
2009 Aug 25
28
Anything but Aptana
Not trying to get into a "What''s a good IDE" here, BUT....On Windows....RadRails never cut it. Under Aptana, it''s a terrible joke, and I''m sick of losing so much time waiting not only for this thing to initialize, but the hanging and crashing I go through is killing me. Please, someone....point me to a decent, lightweight IDE. All i want is syntax coloring.
2013 Dec 10
6
Email out of Rescue
I''m trying to set up a means to automatically send an email from certain parts of troubled code, that is, very often, code that might appear in the Rescue predicate of a begin.....rescue, so as to track down issues remotely. Surely there must be a gem for such? If not, how might one construct something like this in code? TIA, RVic -- You received this message because you are
2009 Jul 29
1
Empty result set after migration
Someone sent me an app with migrations. I am using sqlite for my db in test. I succesfully run rake db:migrate RAILS_ENV=test And when I go to run this app, get "empty result set." Is tehre something I am missing here?
2006 Nov 22
1
Unidata
I have been explaining the benefits of a Rails platform to someone, who has replied to me with the following: "On paper this looks okay but practically you will need to connect to a non-relational database. The database we use is UNIDATA, this is a IBM product. Just an example for our website integration we use REDBACK to make calls and get the information we need." Does anyone have
2007 Mar 20
1
Vista / Instant Rails (Apache) startup error
I have instant rails (1.4) on an XP machine, the contents of which (i.e. C:\InstantRails and everything under it) I copied over to a new Vista machine. Everything fies up nicely EXCEPT Apache, which fails with: "Error in Apache Configuration File: Syntax Error on line 74 of c:/instantrails/apache/conf/httpd.conf ServerRoot must be a valid directory" Except this is a valid directory on
2013 Nov 14
10
Render to clear textbox
There has to be a better way to do this. What I am trying is not working, and seems convoluted. Essentially, a controller method is called, and exits by rendering a partial the purpose of which is to simply clear a textbox in the view. So I am calling the partial which established the textbox -- but it doesn''t work (i.e. it doesn''t clear the textbox). Does anyone know of a
2006 Nov 07
19
DrySQL
DrySQL is a plug-in that extends ActiveRecord to provide a complete DRY solution for Object-Relational Mapping. You''ve defined columns, constraints, relationships, and keys on your DB. With DrySQL you don''t need to re-define any of these things in your Ruby code. If you have tables, keys, and columns that don''t follow the Rails naming conventions, have a complex
2007 Jul 07
0
Events in view question
I have taken an example wherein, using Ajax, the values of a second combobox are populated by a change in the primary combobox. The code is shown below. I realise it will seem as though I am asking someone to write the code for me, BUT, can someone please show me, by way of an example how to amend my index.rhtml below to use, say a radio button group instead of a combobox, wherein when you change
2009 Oct 06
0
Named routes and a Railscast
I''m looking at railscast#102 ( http://railscasts.com/episodes/102-auto-complete-association ) and when I implement it, a certain named ( "formatted_channelnotes_path(:js)" ) route is used in: <%= text_field_with_auto_complete :channel, :channelnote_name, { :size => 15 }, { :url => formatted_channelnotes_path(:js), :method => :get, :param_name =>
2009 Oct 29
0
Javascript in text field with autocomplete
If I am using the autocomplete plugin, and I have a text field specified in a form that incorporates autocomplete, such as: <%= text_field_with_auto_complete :doctor, :organization, :autocomplete => "off" %> how can I put javascript event handlers to if (e.g. keypress, onchange, etc.) ? WHat I really want to do is call a method in my controller if either: 1. The text field is
2012 Dec 19
0
Oracle listner with port forwarding issue
> bundle exec rails s => Booting WEBrick => Rails 3.1.5 application starting in development on http://0.0.0.0:3000 => Call with -d to detach => Ctrl-C to shutdown server Warning: NLS_LANG is not set. fallback to US-ASCII. [2012-12-19 12:17:10] INFO WEBrick 1.3.1 [2012-12-19 12:17:10] INFO ruby 1.9.3 (2012-10-12) [x86_64-linux] [2012-12-19 12:17:10] INFO WEBrick::HTTPServer#start:
2013 Oct 07
0
ruby script/plugin install ...
I am trying to migrate a rails app from the rails 2.x world (which was the last time I worked with rails) and I''m trying to run the command: ruby script/plugin install git://github.com/activescaffold/active_scaffold.git --force which returns: /home/user/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_require.rb:53:in `require'': cannot load such