similar to: trouble adding to database (stringify_keys)

Displaying 20 results from an estimated 80 matches similar to: "trouble adding to database (stringify_keys)"

2006 Jun 19
2
finding duplicates in an array
an application i am working on sends emails to an array of users. it is possible for the user''s email to actually be in the array more than once. i don''t have a real strong grasp of the ruby syntax yet, but is there an easy way to go through and either remove all of the duplicates or at least only send an email to that user once? -- Posted via http://www.ruby-forum.com/.
2006 Jun 22
4
Passing DID to external number?
Hi, We run a small switchboard using Asterisk and Free PBX. We have two main extensions and two ring groups. The first ring group rings the two internal extensions. If the internal extensions do not pick up the call after 15 seconds then the second ring group kicks in which should ring the two internal extensions plus two external numbers. Firstly, how do I pass the DID number of an incoming
2006 Mar 08
6
GD error...
Hi! I''m new in ruby/rails programming and i have a small problem. I have installed InstantRails 1.0 (for Ruby/Rails/Mysql/Apache envs) and I''m trying to make a small app working. I''m using auth_generator for making a login page/users admin pages... and I have a problem when trying to CHANGE the avatar for the user. I have the following error: MissingSourceFile
2006 Apr 18
0
undefined method `stringify_keys!'' for "Tue Apr 18 11:26:00 India Standard Time 2006":String
hi all i am submitting form and i take valu from two text fields. my controller code is like that def saleinsert @verkaufsliste = Verkaufsliste.create(params[:bestandsliste]) @listes = Verkaufsliste.create(params[:verkaufsliste.to_s]) @verkaufsliste=Verkaufsliste.create(@listes.vkdatum.to_s) if @verkaufsliste.save redirect_to :action => ''list'' else
2006 Apr 18
0
Re: undefined method `stringify_keys!'' for "Tue Apr 18 11:26
> @verkaufsliste=Verkaufsliste.create(@listes.vkdatum.to_s) I think it''s better to use strftime(''%d %B %Y'') for .to_s. strftime is a great function that you can redefine easily (in German for example ;) ++ o_O Pierre Marchet -- Posted via http://www.ruby-forum.com/.
2006 Jan 21
1
HELP: NoMethodError (undefined method `stringify_keys!'' for
We have a flash developer who is intergating with a rails application when he posts a particular variable (in this case ''rating'') We get a ''Rails Application Error'' Trawling the production log turns up this error; NoMethodError (undefined method `stringify_keys!'' for "10":String): The html wireframe has no such problem. A select box is
2006 Oct 25
1
Help with a select_tag; getting an undefined method `stringify_keys' error
Hi, I''m trying to use a select_tag in the following manner: <%= select_tag(:received_at, @select_dates, String(params[:received_at]) ) %> But I get this error: undefined method `stringify_keys'' for "":String Removing the third parameter eliminates the error, but I was hoping that the drop-down list will select whichever string in the drop-down list matches
2007 Jul 22
2
undefined method `stringify_keys'
Hello I have a view for user registration but when i try to view this page i get this error: undefined method `stringify_keys'' for "username":String Here''s my registration.rhtml: <% form_tag :controller => :user, :action => :register do %> <fieldset> <label for="username">Username>/label><br/><%= text_field_tag
2006 Nov 20
1
undefined method `stringify_keys!' for "4":String - Meaning of this?
Hi, I have the following on a view <% for evaluation in @evaluations %> <td><%=h evaluation[0].name %></td> <td><%=evaluation[1].object_id %></td> <td><%= link_to( "Start", :action =>''evaluatie'', :id => evaluation[1].object_id) %></td> <%end%> When I click on the link, I can see that
2005 Jul 06
4
undefined method `stringify_keys!'
I have a Model whose table name and primary key don''t follow Rails conventions. So I have used set_table_name() and set_primary_key() and can do the Record.find() method ok. My problem is that the Record.new(params[:id]) idiom in a controller complains: undefined method `stringify_keys!'' for "REAL_PKEY":String Is there something else I need to do?
2007 Dec 31
2
episode 73 resulting in error: undefined method `stringify_keys!' for "33":String
I''m working with a similar model in Episode 73, (my scenario is editing multiple pictures for a product using attachment_fu). And I''m getting an error when I try the technique suggested: ./views/admin/_form.rhtml <% for picture in product.pictures %> <% fields_for "product[picture_attributes][]", picture do | picture_form| %> Title: <%=
2006 Aug 04
5
Creating new record from a form? (stringify_keys! error)
Appologies if this has been covered, But it seems the search is busted. I have a simple model object "Biostat" which I am trying to add a new record to. this is the form: <%= form_remote_tag( :update=>''statsTable'', :url=>{:action=>''new''}, :html=> {:action=>''new'',
2006 Jun 22
4
when I press "transfer" -> blind -> 700 . The user is not able to hear what extension the call was parked on
I am using Polycom 501s with asterisk 1.2.4. When transfering to call parking wih "#1" -> 700 the user is able to hear asterisk tell him what extension the call was parked on. However, when I press "transfer" -> blind -> 700 . The user is not able to hear what extension the call was parked on. It seems like the polycom is hanging up before asterisk is able to
2007 Oct 01
3
stringify_keys!
I have seen this numerious times and still have no idea what it means: undefined method `stringify_keys!'' for "blah22":String I am tring to change a password. My code looks like: def change_password @user = User.find_by_emailaddr( params[:email] ) if @user.nil? # user profile not created flash[:notice] = "<b style = \"color:red\">No such
2005 Dec 22
3
NewbieQ : undefined method `stringify_keys!'' Dumb Question
Hi, I''m running round in circles again! I''m trying to save a note that has a HABTM relationship with a job. The note is new - the job exists. In my partial for notes I have ; <%= start_form_tag :action => ''new_note'', :id => @job %> <%= text_area_tag "note", nil, :size => "65x10" %> <%=submit_tag
2009 Oct 22
19
undefined method `stringify_keys!' for "":String
i have an error undefined method `stringify_keys!'' for "":String my view is given below <%= form_tag :action => ''resolve_create'', :resolve => @resolve %> <p>resolution:<br /> <%= text_area ''resolve'',''content'', :cols => 40, :rows => 12 %></p> <%= submit_tag
2003 Jul 16
6
HOWTO: Temporary dynamic blocking with Shorewall and Portsentry
Hi, all: This is just a note and suggestion, not a question; but I really like this system and thought it might be useful to others so I decided to share. Hope it helps someone, and comments or suggestions are always welcome. 1. Overview: Shorewall accepts traffic on ports that I consider "hostile" (i.e. ports on which I would NEVER expect to see connections) and redirects
2009 Sep 25
3
NoMethodError : undefined method `stringify_keys!' for "2":String
Hi, I have been trying to create a small Rails application. In one of the steps, I am facing this error as "NoMethodError in ContactController#update ...... undefined method `stringify_keys!'' for "2":String". Let me give a brief description of the application. This application is to Create, View and Update contacts. The problem came when updating a record.
2008 Apr 15
1
Dovecot LDA / Deliver question
Problem described: I am trying to get Postfix + Dovecot + MySQL setup to work together in a virtual mail hosting platform. I am running Postfix 2.3.x, and MySQL 5.0.x. I am trying to use Dovecot's LDA for delivery to the users vmail home directory -- usually under /var/vmail/domain.com/j/jdoe for home and /var/vmail/domain.com/j/jdoe/.maildir for mail location, using MAILDIR format.
2006 May 30
3
Help about CMS - newbie in RoR
Hi team, I''m a very newbie RoR user from Spain and I''m developing a blog''s CMS. Why RoR?, coz I think it''s an amazing framework with many posibilities, portable and really powerful, with a young and optimist community, and taking my project I''ve prefered his structure in front of LAMP. Another thing is that I''ve liked to surprise my masters