search for: rprin

Displaying 20 results from an estimated 33 matches for "rprin".

Did you mean: prin
2006 May 05
3
OT: Require e-mail during sign up process?
...re are so many free e-mail hosts, Hotmail, Gmail, Yahoo, just to name a few, that I don''t really see this being a problem. Is requiring an e-mail address a barrier to an application''s adoption? Any thoughts, examples, facts, you can provide are greatly appreciated. -- Ryan Prins rprins@gmail.com http://www.lazyi.net -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060505/fffe0f1b/attachment.html
2006 Feb 27
8
Change Bit Value To Text When Viewed
..." or "No" when I view the listing of commutes. I can get it to display the bit value just fine with <%= commute.accident %> but how can I get it so that when a record with a 0 comes up that it displays "No" and if a 1 "Yes"? Thanks in advance! -- Ryan Prins rprins@gmail.com http://www.lazyi.net -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060227/b3659fbd/attachment.html
2006 Apr 21
1
Data access problem in object when using acts_as_authenticated
...he plug in is doing, but this one part is really throwing me off. Also, slightly unrelated... what do the values in quotes in a debug mean versus the ones that don''t? Example being: city: qazx address_line1: "1234" Thanks in advance, Ryan -- Ryan Prins rprins@gmail.com http://www.lazyi.net -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060421/5c6709fb/attachment.html
2006 Apr 29
1
Display SVN Revision Number in a View
...w? I''d like for this to be done automatically and not something that I''d have to update each time the revision is updated. I know that it is kept in a .svn file or something, but I am curious if anybody out there has done something similar in the past. Thanks, Ryan -- Ryan Prins rprins@gmail.com http://www.lazyi.net -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060429/0b76a00d/attachment.html
2006 Jun 29
9
Handling multiple developers making migrations and using svn
...st option seems to be the best at the moment since a migration I make may effect the migration of another developer. But, what I am curious about is how other people in similar situations handle this situation. What are some options that are available to me? Thanks in advance, Ryan -- Ryan Prins rprins@gmail.com http://www.lazyi.net -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060629/c6c78972/attachment.html
2006 Jun 21
2
error_messages_for not displaying validation errors
...lp that you can offer is appreciated. Here are links to my code: - Model: http://dev.lazyi.net/ruby_code/user_file.rb.html - View: http://dev.lazyi.net/ruby_code/new.rhtml.html - Controller: http://dev.lazyi.net/ruby_code/user_file_controller.rb.html Many thanks, Ryan -- Ryan Prins rprins@gmail.com http://www.lazyi.net -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060621/344e87b2/attachment.html
2006 May 17
1
Renaming controllers/views/models
Hi, What would be the best way to rename a controller and associated models/views ? Do we have to do it by hand ? Is there a tool that could help us renaming pluralized words too ? Mickael. On 5/11/06, Ryan Prins <rprins@gmail.com> wrote: > Following up on this, does this delete the associated tests as well and > other items that are created when you do script/generate controller > myController? > > Also, it would be nice to have a script/rename controller OrigName NewName > > I know I'...
2006 Apr 18
1
Save item to DB x times (howto)?
...stumped on how I''d have the text field (#2 above) look in the view and how I''d access it and then complete a for loop over it and save a new row to the table each time until the count is reached. Any ideas on how I''d be able to do this? Thanks in advance! -- Ryan Prins rprins@gmail.com http://www.lazyi.net -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060418/f0804574/attachment.html
2006 Apr 27
2
check_box_tag and :disabled => ''disabled'' problem
...nt them to be able to uncheck the box. Thus, the disabled attribute. My work around, if you can even call it that, is to just get rid of the disabled options. Anybody have a suggestion or ideas on how I can get disabled to play nice and return a value if the disabled box is checked? -- Ryan Prins rprins@gmail.com http://www.lazyi.net -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060427/364e957f/attachment.html
2006 Mar 13
3
Convert line breaks to paragraph tags
...hat is line 2</p> etc...)? I''ve seen gems that might be able to do this, but I''d prefer to stay away from that route. Also, I''d prefer to stick away from markdown formatting since we already have many entries that utilize raw HTML. Thanks in advance! -- Ryan Prins rprins@gmail.com http://www.lazyi.net -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060313/3880f2c1/attachment.html
2006 Jul 21
2
Migration Date Format
Just wandering if anyone can tell me how to format date when writing test data to upload to the db via a migration. ie, to match the date migration column format thanks -- Posted via http://www.ruby-forum.com/.
2006 Jul 23
2
pagination_links and friendly urls
my pagination_links seems to auto generate the links using the current controller, action and id. The page they''re appearing on however have a friendly url I have created. I want to be able to make pagination urls generated by pagination_links "user friendly" as well so that they match my current naming convention.....i know there must be a way to do this....any ideas?
2006 May 11
2
open and close helper tags?
Hello everyone. I have a custom thumbnail gallery that I am creating with images pulled in a specific order from an array of image ID#s. What I essentially want to do is have a helper-setup where I can do an opening helper tag, such as <% open_image_gallery %> and then be able to place inside of it specific tags associated to the options specified in the opening tag, say the list of
2006 May 12
2
Problem regarding accessing attributes from object...
Hi, I have an object (@cnt). Now when I am calling "@cnt.inspect" on object it gives me output as follows:- ----output---- [#"3"}>] ----------- Now in aboove output the number between double quotes (3) which is of my interest & I want to display it. How to do that? Actually this is my method:- ==================================== class Tagging < ActiveRecord::Base
2006 May 12
3
How to implement a global partial?
Quick question: Whats the easiest way to implement a global partial? Where I can call one partial from many different controllers (err controller views)? -- Posted via http://www.ruby-forum.com/.
2006 Apr 25
0
Need help making code more rails like!
...9;'post_courses[]'', course.id, true, {:disabled => ''disabled''} %><br /> <% else -%> <%= check_box_tag ''post_courses[]'', course.id %><br /> <% end -%> <% end -%> -- Ryan Prins rprins@gmail.com http://www.lazyi.net -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060425/9525c915/attachment.html
2006 Apr 27
2
Red cloth
what is the require I must put in my enviremnt to use red cloth? -- Posted via http://www.ruby-forum.com/.
2006 Mar 02
3
validates_uniqeness_of
Hello, I am trying to understand usage of validates_uniqeness_of. Say I have, two column ''name'' and ''email'' in my table users three unique key is possible for these two columns 1. name 2. email 3. name and email together My question is, if I write validates_uniqueness_of :name, :email what uniqueness is it going to apply, 1 and 2 or, 3 ? Thanks, Mohammad
2006 Feb 28
1
Validate two fields so they do not match
...39;startlocation'' and ''endlocation''. These two cannot be equal to each other on save and I am wondering how to put validation into the model for this. Is is possible to do it in the model, or do I need to do this in the controller? Thanks in advance! Ryan -- Ryan Prins rprins@gmail.com http://www.lazyi.net -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060228/2cea7754/attachment.html
2006 Mar 17
4
Noob question about the "show" function
i''ve got a cool app going and it''s getting bigger and bigger, but now i''m trying to customize the show function. i''m using the scaffold code as a base but can''t seem to get anything to look right. i guess i''m confused about how exactly the scaffold code works for the "show" function. any help would be awesome! thanks. jon --