search for: sadaka

Displaying 8 results from an estimated 8 matches for "sadaka".

Did you mean: adata
2009 May 25
2
Looping through java hashmap from ruby through rjb
Greetings. I am trying to list all keys in a java.util.HashMap field. The Java code to do this looks like: # Collection c = hMap.values(); # # //obtain an Iterator for Collection # Iterator itr = c.iterator(); # # //iterate through HashMap values iterator # while(itr.hasNext()) System.out.println(itr.next()); So, I took a stab at the ruby version: # I have a java hashmap called fields
2009 Oct 21
2
Local not passing to partial when validation error
Hello everyone, I am passing a variable (showco) to a partial using: <%= render(:partial => "form", :object => f, :locals=>{:mode => "edit", :showco => @showco } ) %> It works fine if there are no validation errors. However, when an error occurs and the form is redisplayed, the variable is not set. The @showco variable is initialized in the
2011 Oct 05
3
Rails 3 routes with same name, different param name based on constraint
Hello there fellow RoR enthusiasts, I have been wrestling with rails 3 routes for hours trying to accomplish the following: I want to use the *same url helper* (photo_url) in my views but have a different route match made depending on the format of the parameter I pass. Seems simple enough, right?? If the parameter looks like nn.nn.nnnnnn.whatever, I want the param passed to
2009 Sep 15
2
WINE installed fonts corrupts webpages in FF
Fonts shiped with ubuntu looked great in firefox. However, after installing WINE the fonts changed significantly. In some web pages most of words' (font) size severely increased, while other words' size decreased. Because of this web pages now looks a bit ...ugly, and I wasn't able to fix this (at least with FF menu -> Edit -> Preferences -> Content -> Fonts menu). FF still
2009 May 12
0
Using options on scaffold command line
Is this posssible? i.e. will this work? ruby script/generate scaffold applicant first:string limit=>30 or other syntax? THANK YOU IN ADVANCE, Dan -- Posted via http://www.ruby-forum.com/.
2010 Oct 31
0
using rails_upgrade on windows
Well, I''ve been at this for the past two days. I''m trying to upgrade a Rails 2.3.2 app (ruby 1.8.7) to rails 3, ruby 1.9.2 I ran across this rails_upgrade plugin and got excited--at first. However, the installation calls for a ruby script/plugin command, which does not exist anymore. I found a post that says to go back to old rails environment to run it. So I did that. The
2011 Nov 23
0
Posting photos to Twitter
Hello again, I''m trying to post a remote photo (I have a url, not a file) to twitter using the new api call statuses/update_with_media I found one page of doc at https://dev.twitter.com/docs/api/1/post/statuses/update_with_media but could really use an example call from someone that has already done this. Thanks in advance, Dan -- Posted via http://www.ruby-forum.com/. -- You
2013 Apr 30
0
Delete original input file after delayed_paperclip processing
Hello all, I am downloading a file from S3 for processing with paperclip and delayed_paperclip. The original downloaded temp file is remaining after processing completes. I''m pretty sure I could add the code to remove this file in the after_post_processing method. However, since the process gets handed over to delayed_paperclip, I do not know how to access the pathname of the original