similar to: (no subject)

Displaying 20 results from an estimated 400 matches similar to: "(no subject)"

2006 Aug 24
2
Handling sub-domains
I want users to have their own landing pages: http://username.domain.com. Since this is dynamic (any user will have a subdomain), is there a way to do this without creating a DNS record for each of them? Can you DNS records be dynamic? -- Austin Govella Thinking & Making: IA, UX, and IxD http://thinkingandmaking.com austin.govella-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
2006 Jul 31
1
Migrations that set default values
To reverse a migration that sets a default value, do you set the default to nil? And, if you''re setting a couple of default values just to make early development easier, is it best to do that directly to the database and not clutter your migrations with them? (I.e., it''s not a *real* db change.) Thanks, -- Austin Govella Thinking & Making: IA, UX, and IxD
2006 Aug 18
11
Anyone used MS Access as db?
If yes, how do I set it up in the yml file? Thanks. - amateur Railist -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060818/6690a4e2/attachment.html
2006 Jul 24
1
Newbie error: undefined local variable or method
When I add an item to the shopping cart, I get an error: undefined local variable or method `cart_item'' for #<#<Class:0x3715a78>:0x3715a48> Session info says the cart being updated properly. I''m just not able to output two variables: <%= cart_item.quantity %> &times; <%= h(cart_item.title) %> I did some research, and I can grasp that local
2006 Jul 26
7
RHTML in database?
Hi, is it possible to store RHTML templates or partials in database? thanks, Bojan Mihelac -- Bojan Mihelac Informatika Mihelac, Bojan Mihelac s.p. | www.informatikamihelac.com -> tools, scripts, tricks from our code lab: http://source.mihelac.org
2006 Aug 17
11
Can I get RubyOnRails to read and parse an html file off harddrive?
I do this in ASP to read a special html template that I use, then modify in code before spitting out the resulting webpage. Any ideas on how to script this in RUBY? Do I need a special GEM package? D. Bruce Moore -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060817/95cf5da6/attachment.html
2006 Oct 04
7
Enterprise Software is all about wizards
Would any one else say that enterprise systems (+150 tables) are mainly consisted of wizards. The flow in the software from screen to screen is looselt based on how the business flows, and is required to be very structured. From screen to screen the options available to the user are very limited. There is not much freedom and the user is not overwhelmed with options. Complex applications
2006 Aug 07
4
AWDwR typography question
So, I''ve been listing to stuff folks have been saying about the Bookman font we use. Most people like the font, but some feel there aren''t enough words/line, so your eyes move too much. So, I spent the weekend playing with typography, and I''ve come up with a compromise. The thing is: it looks good to me, but I don''t want to mess up the read for others
2006 Aug 14
8
How search engine friendly are RoR sites?
I am a total RoR virgin, and took my first steps this weekend into the Ruby world. A lot of sites I create need to be as SEO friendly as possible, particularly for google. Before I delve any further, can anyone tell me how friendly the dynamic URLs or if there is the usual rewrite mod for rugby? Thanks Mike -- Posted via http://www.ruby-forum.com/.
2006 Aug 04
4
Tabs
I''m new to Ruby/Rails I want to create Tabs similar to these... http://demo.raibledesigns.com/struts-menu/tabbedMenu.jsp;jsessionid=aM2yeUTgLeTbY7WLAZ;jsessionid=aBFrrGHWQim4pwSPAZ?People Can someone outline the best method? Specifically, Is creating a tabs.html in \..apps\views\layouts and using class PhotoController < ApplicationController layout "tabs" ....in my
2006 Aug 02
4
Struts
I have a STRUTS based webapp and I want to port it to RUBY/RAILS... Can anyone suggest a migration strategy...I would like to migrate my struts actions over time if possible. Jim _________________________________________________________________ Is your PC infected? Get a FREE online computer virus scan from McAfee® Security. http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963
2006 Aug 09
8
AJAX image manipulation
I have this code in a controller that returns images to my browser...with ROR. def index @products = Product.find_all_ pictures end ....this is the .rhtml.. <% for photo in @pic -%> <div class="entry"> <img src="<%= photo.image_url %>"/> <h3><%= h(photo.title) %></h3> <%= photo.description %>
2008 Jul 04
4
select_datetime // datetime_select
Hi I have 2 question for you guys, 1. Which is the difference between this two methods? (select_datetime, datetime_select) 2. How I assign the selected date-time values, to an specific variable or array using select_datetime I know do it using datetime_select(''object'',''method'') I aprecciate your attention. Thanks PD: Sorry about my english.
2006 Aug 03
30
How to protect your code? Obfuscater?
I just made a rails application that I plan to sell and dsitribute. I want to distribute it without having to worry about someone stealing the code and selling their own version. How do I do this? Is there a ruby obfuscator or anything that can keep someone from seeing the code? Thanks for your help. -- Posted via http://www.ruby-forum.com/.
2006 Jun 08
5
AM/PM select
I have a customer that has a request that the select_datetime fields have AM/PM selectors instead of 24 hour time. The rails time and datetime selects seem to only support 24 hour time. I can''t seem to find any information on this. i was wondering if there is already a solution out there, or will i have to roll my own? Sean Wolfe master nerd of i heart squares, inc. 3711 N.
2006 Jul 20
19
Recipes versus Ruby for Rails: what''s best after Agile?
For expats from other languages, what''s the next best step after the Agile Web Dev book: Rails Recipes or Ruby for Rails? Thanks, -- Austin -- Posted via http://www.ruby-forum.com/.
2006 Mar 02
6
Newb question about facade columns
Hello, I am trying to deal with a database table that contains a date in the form of the number of seconds since epoch. Data is inserted in this format by an existing script that I can''t change, so a schema change isn''t realistic. I would like to allow humans to view and edit this data in the form of an actual human-readable date. I figured a facade column would be the
2005 Apr 27
2
noob question: rhtml new/edit views and the date functionality
Hello All, I''ve been playing with Rails - did the recipe/category sample from onLamp.com - fairly straight forward - even got it working against postgres. Anyway, I''ve been appling rails to a small test project and I can''t seem to get the syntax down or find a sample of how to use the date control on a custom new/edit view. The CRUD (is that right?) that automatically
2005 Mar 10
1
Setting variable main in plot-function
Hi, I am plotting the residuals of z like this plot(resid(z)) and I want the title of the graph to be main="Residuals from regression [name of regression]" where in this case "z" is the name of the regression. Is there a way to automaticall put the name of the regression in the title, e.g if the regressions name changes to "y", the title changes accordingly?
2005 Dec 12
1
Search screens with dates
Tried googling and searching the lists for this. I''d like to do a search on some dates and naturally enough use the date helpers. I have a number of problems: -- datetime_select wants an active record model -- select_datetime does not take the options that datetime_select take - specifically :order that leaves me with something like <label>Date/Time