similar to: us_states plugin

Displaying 20 results from an estimated 100 matches similar to: "us_states plugin"

2006 Jul 08
6
Trying to create pulldown select menu for US State form fiel
I noticed there is a country_select. Is there anything like us_state_select maybe? More specifically - I''m wondering if I manually have to populate an array with all the U.S. state abbreviations so users can select which state they live in while entering their mailing address. -- Posted via http://www.ruby-forum.com/.
2007 Jun 21
3
disappearing .pid files
Hello, I''m running mongrel_cluster and have been using it successfully for quite a while now. However, today I ran a "cap deploy" and started seeing the following error: !!! PID file /var/www/apps/jco/shared/log/mongrel.8013.pid does not exist. Not running? for each of the mongrels that should start up. I''ve googled for solutions but haven''t found any
2006 Jul 08
10
A rant about parameters
Guys, I''ve been chasing a problem with country_select for the past few hours now. My intention was pretty simple...use the following line in a form: <p><label for="country_region">Country</label> <%= f.country_select :country_region, "United States" %></p> However, for the life of me, I couldn''t get it to work. I kept getting
2006 Jan 13
1
file_column - how to test for empty column?
I am using the excellent file_column, but have run into an issue. I am wanting the user to be able to *not* upload an image if they so choose. Then I am trying to determine if that column is empty or not, and display a generic image if that column is empty. I have tried both of the following code blocks: <% if @newsentry.image -%> <%= link_to(image_tag((url_for_image_column
2007 Dec 06
8
Default value for country_select
Using Country_select how to have default valur set to United States. I have a select drop down in my Ui to display the Country names. But i need United tates to be selected as default value. I use country_select to populate the country names. This is how i use <%= f.country_select :country, :selected=>''United States'' %> i also tried <%= f.country_select :country,
2008 Mar 14
1
how do i get country_select and select to show values
Hi i am a newbee at rails and i am using the country_select and select drop down boxes in my new.rhtml I can make these work fine but when i try viewing it in my database and show and index they just wont appear, I have tried to edited it to how do I go about showing these items everywhere i am completely stuck. if text field = f.text_field then why doesnt country_select = f.country_select or
2006 Dec 10
1
how to add a class to country_select field
<%=country_select ''user'', ''country''%> I have the above field, how can I add a class to this? The api says this, if someone could explain how to get to the html_options bit, without the others, that would be great? country_select(object, method, priority_countries = nil, options = {}, html_options = {}) -- Posted via http://www.ruby-forum.com/.
2009 Jan 03
1
Not working country_select in Rails 2.2.2
country_select not working in Rails 2.2.2 How to fix it'' <%= country_select(:employee, :national, ["United States", "Russian Federation"], {}) %> -- 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
2011 Feb 18
1
Rails plugins new official maintainers
Hey guys, This is the final list of the new maintainers of each plugin. We need two more things to do: First please the owners of the repos add the rest of the maintainers. Second I will add a note on each rails/plugin mentioning this repos updates. So from now on, if someone else is interested in helping/contributing please send a message to the appropriate repo owner. verification
2006 Aug 09
3
select with country names
Hi, I need to create a list of coutries in a driop down. I''m aware of a function ''country_options_for_select'' however this jsut seems to output a string of all countires. How can I get this list in a drop down? Thanks scott -- Posted via http://www.ruby-forum.com/.
2005 Jun 12
1
Overwritting Countries Constant
Is there anyway to overwrite the COUNTRIES constant that is being used by country_select? Thanks :-)
2010 Aug 20
5
country state city drop down list rails
hi every one please tell me the recommended way to get country state city drop down list in rails any gem - plug-in tutorial thanks in advance. -- 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
2006 Feb 04
0
Cartographer plugin problem: was: ArgumentError when installing plugins with -x
On 2/3/06, jeremy*pinnix <jpinnix.alt@gmail.com> wrote: > This is the second time that I''ve tried to install plugins where this > error has occured. It only occurs when I use the -x flag. > > > What is the problem? > I found that the cartographer plugin has been moved to rubyforge. But I am still getting an error trying to install it. script/plugin install
2005 Nov 04
0
ISO-3166 country_select
Hi Railers, I need country_select to give me ISO-3166 country codes (the two letter alphabetic "alpha2" ones). I''ve seen Multilingual Rails at: http://www.tuxsoft.se/sv/oss/rails/multilingual That has the function I need, but I really don''t need the rest of it, since this is literally the only function I need. I''m wondering whether: 1. To install the
2011 Mar 11
0
Add tabindex to country_select
How do I add tabindex to a country_select? -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to
2005 Dec 08
0
#3136 - Country codes in country_select
http://dev.rubyonrails.org/ticket/3136 Simple patch, but in following with others I figured I''d post a quick email to this list. All this does is adds functionality of country_select to allow people to build country select boxes that use country codes. It doesn''t modify default behaviour, and the test suite has been updated. I''ve seen a few people trying to figure out
2007 Oct 05
1
Custom helpers for list of options?
Hi all, I have a model that "belongs_to" many other models, many of those models are just list of names, like country, state, city, profession ... I read about the country_select helper. Is better to have all those tables or use custom helpers? what the rails way? Thanks. For example : http://pastie.caboo.se/104092 # = Schema # country_id integer # city_id integer #
2007 Nov 22
5
testing independence of categorical variables
hi, is there a way of calculating of measuring dependence between two categorical variables. i tried using the chi square test to test for independence but i got error saying that the lengths of the two vectors don't match. Suppose X and Y are two factors. X has 5 levels and Y has 7 levels. This is what i tried doing >temp<-chisq.test(x,y) but got error "the lengths of the two
2010 Jul 08
3
my web app seed data and cucumber
I''m writing a web app which is used a SaS. Each customer has their own db and app directory. I have a rake task which creates all necessary minimum data to run their website: default rights and roles, a superadmin user, a "us_states" table already populated, some local depots and terminals (it''s a logistics app). I don''t have any cucumber scenarios for it and
2009 May 27
9
Contingent Select Boxes - 2 Q's
I have a form with contingent select boxes (the state is contingent on the country selected, so when the country selected changes, the state changes -- I am using the Carmen plugin for getting my state names and country names together, but not the functionality I am interested in achieving). Everything works fine except I cannot figure out how to amend my code such that: A. When the form is first