similar to: Migrations that set default values

Displaying 20 results from an estimated 10000 matches similar to: "Migrations that set default values"

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 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 Aug 14
2
(no subject)
I have the following code that generates a rhtml page, <%= start_form_tag :action => ''create'' %> <%= render :partial => ''form'' %> <%= submit_tag "Create" %> <%= end_form_tag %> <%= link_to ''Back'', :action => ''list'' %> ...I am trying to put a "Browse" button to
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 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 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 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 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 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 29
4
Multiple belongs_to
Let''s say I have a catalog with hotels. Each hotel belongs to a category (4-star, 5-star etc.) This is it''s official category.However, there is also a category that users assign and a category that "independent reviewers" assign. So I have this: hotels { id, category_id, reviewer_category, user_category } categories { id, name } class Hotel <
2012 Aug 29
0
[LLVMdev] LLVM Austin Social
We probably should not spam the list... but I am in :) Anshu, maybe we can reply directly to you, and at the end you can simply announce the head count? Sergei -- Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum. > -----Original Message----- > From: llvmdev-bounces at cs.uiuc.edu [mailto:llvmdev-bounces at cs.uiuc.edu] > On Behalf Of Anshuman Dasgupta > Sent:
2007 Jan 18
1
Simplifying similiar sip trunks
I have over 12 sip trunks that are very similiar, like extension 412 below. Is there any way to have a single variable in [general] that contains the 7 lines after 'username=412'? This would reduce clutter in sip.conf. I don't want to put these common lines in [general]. What I have now repeated 12x: [412] username=412 context=default type=friend qualify=yes insecure=very
2012 Aug 28
7
[LLVMdev] LLVM Austin Social
There are a bunch of us working on LLVM in Austin. So we're organizing a LLVM Austin Social in September. The social will be on Wednesday, September 12 from 5 pm at the BB Rovers Cafe and Pub. It'll be great to meet up with folks in Austin who are also interested in LLVM. Please reply and let me know if you plan on attending so that I can get a count. BB Rovers is on Jollyville road
2015 Oct 20
3
LLVM Social in Austin - Nov. 15?
Hello again, Because the LLVM in HPC workshop will be in Austin on Nov. 15th (http://llvm-hpc2-workshop.github.io/), we'll have an anomalously-high density of LLVM developers in Austin that day. I think it would be a great evening to have an LLVM social! I'm not familair with the Austin area, but I've cc'd some folks who are (or at least were) in Austin, so hopefully we can get
2009 Jan 14
1
meaning of
>From: Austin English <austinenglish at gmail.com> >Sent: Jan 13, 2009 7:17 PM >To: James McKenzie <jjmckenzie51 at earthlink.net> >Subject: Re: meaning of "Hardware" field in bugzilla? > >On Tue, Jan 13, 2009 at 8:15 PM, James McKenzie ><jjmckenzie51 at earthlink.net> wrote: >> Austin English wrote: >>> >>> On Tue, Jan 13,
2013 Mar 15
1
Postfix/Amavisd/Clamd - Mail send failing
Dear All With help from you all I am now at better stage. Special thanks to Robert. Atleast I am able to run all the required services (postfix, amavisd, clamd etc). I sent a mail from my gmail, I received at my newly setup domain/mailbox. I am facing issue while sending the mail outside. >From maillog I realized, two issues are there. *1. Virus scan failed. The error log is as below *
2018 May 17
0
Bilateral matrix
Dear William and Ben, Thank you for your replies and elegant solutions. I am having trouble with the fact that two of the previous locations do not appear in current locations (that is no one moved to OKC and Dallas from other cities), so these two cities are not being included in the output. I have provided a better sample of the data and the ideal output (wide form - a 10x10 bilateral matrix)
2009 Oct 19
3
[LLVMdev] Who is physically near Austin?
I'm taking Talin's idea and running with it with respect to the Austin area. If you're into LLVM and within easy-enough driving distance to make it worthwhile to get together every month or so in Austin, please post here. If there's enough interest, I'll set something up at a local restaurant or someplace like that.