Displaying 20 results from an estimated 10000 matches similar to: "Weird auto-complete production problem in Rails 2.3.2"
2009 Apr 19
2
Upgrading from Rails 1.3.x to 2.3.2 - text_field_with_auto_complete not working
Folks,
I am trying to upgrade code base from 1.3.x to 2.3.2 and not
surprisingly, lot of things are broken.
''text_field_with_auto_complete'' is not working for me - it gives the
following error:
ActionView::TemplateError (undefined method
`text_field_with_auto_complete'' for #<ActionView::Base:
0x7f0ceb6b8290>)
I already have installed auto_complete -
ruby
2010 Aug 12
4
[Rails 3] How to test routes urls in console
I tried require ''url_writer''
but this is not the trick
what should be required/included to test the routes urls ?
thanks
erwin
--
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 unsubscribe from this
2008 Dec 20
5
Calendar icon for date selection functionality
Hello.
I would like to add date selection functionality using a calendar
icon. Is there a tutorial anywhere I could use?
Thanks in advance.
Pepe
--~--~---------~--~----~------------~-------~--~----~
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
2009 Mar 22
3
undefined method 'define_a_column' for class 'OCI8::Cursor'
Hello. Tired of searching and finding nothing useful.
Moving application to laptop for trip.
Installed:
- Ruby (1.8.6, patchlevel 111)
- Rails (2.2.2)
- Oracle adapter (1.0.0.9250)
- ruby-oci8 (2.0.1)
- Oracle 10g Express Edition
database.yml:
development:
adapter: oracle
etc...
When I start Mongrel (ruby script/server) I get the error above. I''ve
looked everywhere I can think of.
2010 Jul 21
4
Association record duplication
I have an edit page that generates a few input fields I organized in a
table, like so:
<tr>
<td>Driver License</td>
<td>
<input
id="person_accounts_attributes_0_account_documents_attributes_1_number"
name="person[accounts_attributes][0][account_documents_attributes][1]
[number]" type="text" />
2009 Dec 30
9
Oracle adapter problem? How to fix this?
Hi,
My setup is:
Ruby 1.8.6
Rails 2.3.5
activerecord-oracle-adapter (1.0.0.9250)
I upgraded Rails and the adapter recently and I just went through hell
trying to find a problem while inserting a record in a table.
Rails was giving me this error:
OCIError (ORA-02289: sequence does not exist):
stmt.c:539:in oci8lib.so
c:/ruby/lib/ruby/site_ruby/1.8/oci8.rb:753:in `exec''
2010 Sep 14
3
Numericality validation strips chars from original entry
I''ve noticed that if I use the numericality validator and the user
enters, for example "1234ABCD" it''ll come back with a "not a number"
error, but it then fills the input box with "1234", discarding the non-
numeric input the user originally put in.
I''ve seen a similar question about this in this group, but the poster
was looking for a way
2009 Feb 16
24
como consultar en oracle
holaa todos ante todo un cordial saludo alguien que me pueda ayudar.
se plantea lo siguiente necesito mostrar 2 campos de una tabla los
cuales son mtin_mtin,mtin_descri de una tabla llamada re_tmtinv de esos
dos campos se necesita obtener el codigo y la descripcion,y luego ser
mostrado para despues ser agregados a un formulario.
el problema que tengo es que ya tengo la vista pero esta en blanco
2008 Dec 25
2
Switching to active_record_store session management errors out
Hello,
Running Ruby 1.8.6 and Rails 2.2.2 against an Oracle XE database
(sigh).
I just upgraded Rails from 1.2.3 to 2.2.2, which made my cookie based
system for storing session information to error out due to the 4Kb
limit. So, I tried to turn on the active_record_store system by un-
commenting out the "config.action_controller.session_store
= :active_record_store" line in
2011 Feb 15
7
Hide/Show Div and link_to_remote
Hi
I want to show some info and provided an ''edit'' button next to it.
This will change the display info to an editable form.
I''ve seen this done before, but what I can''t figure out is whether I
have to use an actual remote action to the rails server?
I think I should be able to render both the edit box and the display
info as seperate divs, and then show/hide
2008 May 29
6
Production install (RoR + Oracle + IIS)
Hi.
Although an expert developer for IBM systems (iSeries) I am VERY new
to RoR and somehow to the PC development world as well and not
familiar AT ALL with PC configurations, etc. (in my regular job good
ol'' IBM takes care of all that and I just need to code). So forgive me
if any of the following sounds stupid, it probably is. Just get a
laugh at my expense and try to answer between
2006 Jun 21
3
Show Exceptions in Production mode.
Does someone know what to set so that exceptions are shown (to user)
when in production mode? I would like the exception to show exactly as
it does in development mode.
I know that they are written to the log.
Richard
RogueWaveMarine.com
--
Posted with http://DevLists.com. Sign up and save your mailbox.
2011 Mar 26
2
How to deserialize an array from XML
Hi,
to serialize an array to xml we can use:
an_array = [ 1, 2, 3]
an_array.to_xml
But to I can''t find a way to convert back XML to array. I didn''t find a
method Array.from_xml like Hash.from_xml.
Any ideas?
Thanks,
Gustavo
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email
2009 May 21
1
DB connection problem in production
I have a separate DB for one model in my application and in development
mode the connection is working properly, in production however it isn''t.
production:
adapter: mysql
host: myhost
username: root
password:
database: production_db
users_production:
adapter: mysql
host: myhost
username: root
password:
database: other_db
The model that connects to the other
2009 Jun 11
8
before_create return value breaking object.save: rails bug?
I know that usually when people say ''i think i found a bug in
rails/ruby'' they''ve done something dumb. I''m wondering if this is the
case here, but this does seem like a genuine rails bug to me.
In my user model i have a few different before_create callbacks. In one
of them, if it happens to return false (just because the last statement
in it evaluated to
2006 Mar 14
7
Application error (Rails)
After I attempted to add ActionMailer functionality, it gave the
"Application error (Rails)" and now, everything on my site works, except
for the part where the Actionmailer ''would have'' sent the email.
I took that out now, re-uploaded the file, and ran "killall -USR1
dispatch.fcgi" and still nothing. Everything else works, except that.
Any idea what
2006 Jul 29
9
How to write RoR code
Hi all
I took a look to several examples of RoR on different web sites, and I
found that it is hard to write a class, in RoR, because I do not
understand all the codes used on the source code.
jsn
--
Posted via http://www.ruby-forum.com/.
2010 Jan 03
24
SQLServer on Rails
Does any one know how to setup SQLserver with ruby1.9. It was working
on an earlier version and now nothing works! I have installed the
gems dbi ,dbd-odbc and activerecord-odbc-adapter and can connect in
straight Ruby. However, using rails with database.yml nothing works!
I hosed everything and reinstalled rails and now, I get Win32/Parite
virus on ruby.exe. Any ideas? I''m losing
2005 Oct 06
5
webrick seen only on local machine
I am running the webrick server (/script/server) and I would like to be
able to view the application from any browser. However, I can only see
my application from a browser opened up on the localhost. When I use
any other browser it times out. I have already modified the following
line in the /script/server file (I''ve tried the numeric ip address also)
so that it is the real ip
2005 Jan 11
7
default error page
Help, please.
I need redirection to a custom error page, instead of
the default Rails messages (e.g. Unknown action).
I use WebRick, no Apache, and i think i can''t use
public/.htaccess (# General Apache options).
Thanks.
___________________________________
Nuovo Yahoo! Messenger: E'' molto più divertente: Audibles, Avatar, Webcam, Giochi, Rubrica
Scaricalo ora!