search for: shandy

Displaying 20 results from an estimated 44 matches for "shandy".

Did you mean: handy
2009 Jul 10
3
text_field_with_auto_complete
I need to pass a parameter in my text_field_with_auto_complete and am struggling to discover how to do this. I have something like this: <%= text_field_with_auto_complete ''user'', ''username'', {}, {:with => "''post=''@company_title.id"} %> but because it is in a partial that pops as a result from a remote_function_tag, I am
2012 Sep 18
2
undefined method `to_sym' for nil:NilClass
...engine.rb:479:in `call'' railties (3.2.2) lib/rails/application.rb:220:in `call'' rack (1.4.1) lib/rack/content_length.rb:14:in `call'' railties (3.2.2) lib/rails/rack/log_tailer.rb:14:in `call'' rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service'' /home/shandy/.rvm/rubies/ruby-1.8.7-p370/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'' /home/shandy/.rvm/rubies/ruby-1.8.7-p370/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'' /home/shandy/.rvm/rubies/ruby-1.8.7-p370/lib/ruby/1.8/webrick/server.rb:173:in `start_thread'' /home/shan...
2007 Sep 25
2
Character limit for text field
...r'', ''rentalcar_comments'', :size => "69x4" %> I am describing a size but I need it to only allow a certain number of characters and no more. Is that possible or am I going to have to right a method that check and then kicks back an error message? Thanks, -Shandy -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gman...
2007 Oct 18
7
Rails app settings for GoDaddy
I have a rails application that I am trying to get up and running on my GoDaddy account. I read an article that I got from this forum about how to properly set-up my account, but after following those direction I still get nothing to work. Just wondering if there is anyone out there that can point me to other resources to get me started or if anyone has any suggestions on what to try next. The
2008 Sep 29
4
RJS is not loaded
Hello, I have here an issue which is really critical for me (it for my university work and I would like to not delete this feature). It based on a Rails 1.x tutorial which I use now under Rails 2.x. It contains the refreshment (adding content or records) of an div via RJS/JS. I access the RJS via (Controller): respond_to do |format| format.html { redirect_to :controller =>
2008 Nov 15
4
data not being saved
I am trying to save data entered in a form and nothing seems to be saving. What do you I have to look at to ensure everything is set-up correctly? I have looked in my database.yml file and all looks good and the database that I am trying to use exist. Thanks, -S -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you
2008 Oct 15
9
Rails sessions working intermittently in IE7
Hello, We are developing in Rails 2.1.0 and serving the files with mongrels behind Apache. We are using SqlSessionStore. Recently I noticed that when logging into our site using IE7 the session doesn''t persist in some situations, and persists when it shouldn''t. For instance when I log in my info is maintained when visiting certain pages, but disappears on others. The info never
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
2008 Oct 31
6
link_to submit form value 2
Hi to all, I''d like to pass with a link to values inside some form. I''ve read in other posts that it''s possible if i include the forms inside a html <div>... So here it''s my code of the view : <div id="study"> <table> <tr><td><label for="study_titolo">Titolo di
2007 Sep 12
1
update_attribute_with_validation_skipping
...me of a method?, the name of an attribute for the model?, the name of a column in the database? I have tried many permutations with no luck. @user.update_attribute_with_validation_skipping( @user.d_attention, @user.first + " " + @user.last) This was my latest try. Thanks for any help, -Shandy -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gman...
2009 Apr 20
1
RJS sporadic error message
I have this form that allows a user to enter a username and save it, assocciating your profile with theirs via an id. A list gets updated and a partial is displayed. The problem is that when I hit the submit button to this form to make this all happened I (sometimes, but more often then not) get an RJS error that reads: TypeError: Cannot set property ''innerHTML'' of bull. I hot
2007 Sep 19
3
link_to method of different controller
I want to link to a method of a different controller. I thought I new how to do this but the code that I have is not working: <%= link_to ''Welcome Page'', { :action => ''index'', :controller => ''music_controller'' } %> Any ideas, thanks ~S -- Posted via http://www.ruby-forum.com/.
2007 Nov 08
3
options_from_collection_for_select
I need to add a blank or dashed field to the options_from_collection_for_select helper but can''t seem to get it to work. Tried this, but with no effect: <%= options_from_collection_for_select @airlines, ''id'', ''name''], {:include_blank=>true} %> Anyone know how to do this? Thanks, -S -- Posted via http://www.ruby-forum.com/.
2007 Nov 27
9
New to RonR...
Hello, I''ll try to keep this short BUT, I''ve got little/no experience with programming. In fact, my only background is using Cold Fusion (since 1996 and VERY little of that for the past 5 years as I''ve been playing as a Manager-type at my jobs so I haven''t had to do any hands-on stuff for a while). My question: Would Ruby on Rails be a good platform to get
2008 Jan 02
3
REXML::Comment:Class
I have this field in my app where a logged in user can enter a comment, but when I click on the link bringing me to that page I get the following error message: undefined method `table_name'' for REXML::Comment:Class I am doing some encrypting that has an ''include REXML'' statement but when I comment that out I still get this error. Does anyone know where this is coming
2007 Jul 20
4
the value in text_field helper
I have been working on this small, minute, part on my project and it all hinges on setting the value in a text_field helper. Saying: <%= text_field ''user'', ''company'', :value => @login %> does not do it. When I go and look at the raw html, there is no value there and "value" is an attribute of the input tag, im pretty sure. I really like
2008 Aug 20
7
:include confused by true?
I have two models: guest rsvp guest belongs_to rsvp and rsvp has_one guest When I try the following I get an error: @coming = Guest.find(:all, :conditions => ["coming = ?", true], :include => :rsvp) It complains of an unknown column ''coming'' I''m sure I''m doing something stupid but I can''t see it. Any help would be appreciated.
2007 Sep 04
1
RSA, public and private keys
...d the concept of public and private keys, just not how the encrption part is working if you need to store data on the users machine, as far as private keys. Or, if someone has done encryption for sensitive data user other methods I would like to hear about those too. Thanks for any and all help, --Shandy -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gman...
2008 Apr 02
4
options_from_collection_for_select
I have a drop down of country''s and I would like the USA to be the first displayed. I have tried: <select id = "user_w_country" name ="user[w_country]" onchange = "<%=func%>"> <%= options_from_collection_for_select @country, ''id'', ''country'', :selected =>
2008 Sep 23
6
No css formatting
I''ve just moved a rails site across to a test server from my development PC. I''ve frozen rails and put all the relevant gems into the vendor/gems directory too. I''ve migrated the mysql database and configured Apache with Phusion Passenger. I can access the site and the content is fine. The formatting however, has disappeared - it''s as though the css file does