similar to: View change on db field change

Displaying 20 results from an estimated 13000 matches similar to: "View change on db field change"

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.
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 May 10
2
newbie q on displaying a db field value in the view
My layout calls a few links like so: <%= link_to ''| Home '', :controller => ''search'', :action => ''''%> <%= link_to ''| Search '', :controller => ''search'', :action => ''''%> I would also like to display two values from my user table in the same layout right after the
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
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
2008 Aug 21
1
validates_uniqueness_of not working - urgent
I''m using restful_authentication to let users register and login. Lately, however, I''m seeing multiple login and emails being created even though I have validates_uniqueness_of as below: user.rb validates_uniqueness_of :login, :email, :case_sensitive => false mysql> select id, login, email, created_at, state from users;
2008 Dec 10
3
rspecing rjs - form.reset(''form'')
Hello, > > I couldn''t find much info on this. > > How do you rspec this: page.form.reset("form") > > I looked in the have_rjs source code and I can''t find anything on form > reset. > > Thanks, > > -- > Andrei > -------------- next part -------------- An HTML attachment was scrubbed... URL:
2009 Dec 11
1
Stubbing calls to S3 from Paperclip
Any idea on how to stub calls to Amazon S3 from the Paperclip plugin? -- Andrei Erdoss -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/rspec-users/attachments/20091211/640e28ad/attachment-0001.html>
2010 Jun 29
3
belongs_to. Association methods don't pass data to DB
Hi. I have a problem with the association methods which passed to a model through a belongs_to declaration. Here''s an illustration of the issue: GIVEN: # migration class CreateArticlesAndAuthorsTables < ActiveRecord::Migration   def self.up     create_table :articles do |t|       t.text     :title       t.integer :author_id     end     create_table :authors do |t|       t.text
2006 Jul 31
4
Login Password text field values
I have a text field that I use for logging in users. Due to the design of my site, I don''t have room to put the word "username" in front of the text field so I''d like to actually display it inside the field and then have the word clear when the user clicks on it. How could I modify something like this <%= text_field "user", "login", :size
2005 Dec 17
17
problems with quotes and escaping
First of all I''d like to say thanks for all the great work everyone has put into scriptaculous, I''m having a lot of fun playing with the framework, and easily moving into Web 2.0 territory. I''ve just hit a snag on my project though. So here''s my code: ... var newEvent= "<div
2010 Oct 20
3
[JOBS] Integrating a payment gateway into my current website.
I am looking for a web developer to integrate a payment gateway into my current website. It currently has a shopping basket system but is not connected to a payments provider. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To
2008 Jan 23
11
Rails 2.0.2 + RJS
Hi I had ajax commenting on my app, which worked perfectly on Rails v1.2.6, but does not work the same in Rails 2.02. Basically the comment gets added, but the visual effects do not work (ie lines 2 + 3 of create.rjs) create.js page.insert_html :bottom, ''comments'', :partial => ''comment'' page.visual_effect :appear, "comment_#{@comment.id}"
2009 Aug 27
8
Adding New Column
I added a new column using a migration. Once I updated the new.html.erb, edit.html.erb, show.html.erb, and the index.html.erb I brought up my web pages. There was a field to update show. I tried the update and the it was successful but the update did not show up in any of the other pages. What did I miss? I am using 2.3.3 of ror.
2005 Aug 04
7
Frames within rails
What is the best way to create frames in rails? thanks fp
2009 Aug 19
27
First App- Error 500
I''ve created a simple hello world app that doesnt appear to serve up the view greeting.rhtml. :< Any ideas ? The error message is from development.log is... # Logfile created on Tue Aug 18 16:49:55 -0400 2009/!\ FAILSAFE /!\ Tue Aug 18 16:50:34 -0400 2009 Status: 500 Internal Server Error unknown error PS . It does show the default web page ok at http://localhost:3000 just not
2006 May 08
1
newbie: Login/Logout in view
I am using the acts_as_authenticated plugin to manage logging in/logging out. There are a few controllers, such as search, that I don''t mind people accessing regardless of whether they are logged in or logged out. My current view just has some static links on the left that say Login and Logout. How should I set it up so that it says Login when not logged in and log out when logged
2012 Oct 01
12
Can I have Ruby on Rails without json
Hello, On my Chakra linux machine the json gem would not get compiled, I already made a issue for that. But for continuing my project can I have ruby on rails without the json gem ? And if so, how can I do this ? Roelof -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to
2005 Aug 17
2
Sentinel Driver
I'm trying to run the Ardis Cutting Optimizer under wine but it uses a Rainbow Sentinel driver to detect a parallel port dongle for copy protection. I have the dongle and I've installed the sentinel driver, but when I run wine COWIN.exe I get the following: fixme:vxd:VXD_Open Unknown/unsupported VxD L"sntnlusb.vxd". Try setting Windows version to 'nt40' or