similar to: create_table with unique combo

Displaying 20 results from an estimated 2000 matches similar to: "create_table with unique combo"

2008 Jan 15
1
Application error Rails application failed to start properly"
I''ve been strugling for days trying to resolve this issue installing a rails project on a hosted server. I keep getting Application error Rails application failed to start properly" when I go to front page of my site. I followed instructions on this thread http://wiki.ocssolutions.com/Troubleshooting_a_Ruby_on_Rails_Application and still no luck I checked dispatch.* for proper ruby
2006 Apr 19
6
undefined method `create_table'' for #<LoginController:0x5e60
I am geeting the foolowing error. undefined method `create_table'' for #<LoginController:0x5e60110> I wrote the crete action in application controller. I am coping ther total worng please help me! class ApplicationController < ActionController::Base model :cart model :line_item before_filter :authorize def create # create_table() yields a TableDefinition instance
2006 Jan 12
1
Best Forum? Was: Migration doesn''t seem to preserve create_table options in schema
Hi, is this the best forum to answer this question? Is there any better source for information or another mailinglist to address this question to? Cheers, Mariano ---------- Forwarded message ---------- From: Mariano Kamp <mariano.kamp@gmail.com> Date: Jan 8, 2006 6:24 PM Subject: Migration doesn''t seem to preserve create_table options in schema To: rails@lists.rubyonrails.org
2005 Dec 28
2
cant get X on domainU
Hello I can''t seem to be able to get X working on domain U My setup domain0 -ubuntu breezy domainU -ubuntu breezy I tried 3 techniques 1. ssh -X domainU steps: on domain U $ export DISPLAY=:0 $ xhost + xhost: unable to open display ":0" on domain0 ssh -X domainU result: ssh conection established no X forwarding starts. after login tried
2011 Oct 12
1
`require': no such file to load -- rspec/rails (LoadError)
Getting strange loading problem.. >> bundle exec rspec -p spec/models/* give error: .. .rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.1/lib/active_support/ dependencies.rb:240:in `require'': no such file to load -- rspec/rails (LoadError) from /home/slava/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.1/ lib/active_support/dependencies.rb:240:in `block in require'' from
2006 Apr 04
0
making a set column type with create_table
create_table(:username, :options => ''ENGINE=MyISAM DEFAULT CHARSET=utf8'') do |table| table.column :name, :string # THE LINE BELOW FAILS table.column :tag, :set ... ... end Hello all, I''d like to make a set column with the create_table method. I''ve googled around some, but did not find an answer. Is this possible with
2006 Apr 12
0
create_table and char columns
When I use create_table to make a table :string always makes a varchar column. How can I make it so that :string will make a char column? create_table(:accounts, :options => ''ENGINE=MyISAM DEFAULT'') do |table| # This creates a varchar column, I would like a char column. table.column :username, :string ... end -- Posted via http://www.ruby-forum.com/.
2006 Jan 08
0
Migration doesn''t seem to preserve create_table options in schema
Hi, I have the following migration (abbreviated): class Initial < ActiveRecord::Migration def self.up create_table :messages, :options => ''ENGINE=MyISAM'', :force => true do |t| t.column :id, :integer, :null => false t.column :external_id, :string, :null => false t.column :recipients_count, :integer, :default => 0
2011 Aug 28
1
troubles running rspec..
developing a 3.1 app. trying to run spec on and get this error: bundle exec rake spec ***************************************************************** DEPRECATION WARNING: you are using a deprecated constant that will be removed from a future version of RSpec. /home/slava/.rvm/gems/ruby-1.9.2-p290/gems/bundler-1.0.18/lib/bundler/ runtime.rb:68:in `require'' * Rspec is deprecated. *
2019 Feb 06
2
right way for setting PreserveLCSSA with new pass manager
Hi, mustPreserveAnalysisID(LCSSAID) cannot be used with the new pass manager, so what is the right way for querying it? FunctionAnalysisManager::getCachedResult<LCSSAPass>(F) will not work, since LCSSAPass does not have a result. Moreover, it is not an analysis :) Thanks, Slava -------------- next part -------------- An HTML attachment was scrubbed... URL:
2006 Jul 16
2
how to specify a hash in a migration create_table.
I want to have a column in my model that needs to store variable information in a structured manner. For example,: Equipment type computer: ram: 512-mb os: PuppyLinux 2.0.1 Equipment type router: manufacturer: LinkSys ports: 4 wireless: yes I would have customized view ( RJS ) that would prompt the user for the correct information based on the EquipmentType selected. The info
2011 Nov 02
1
How do I use the new 'ByteCompile' field in R-2.14?
Hello, I would like to the use the 'ByteCompile' field in R 2.14. However, "Writing R Extensions" only describes this field, but does not say what value it should be set to. How should i use it? Do you have examples? Is it the same as "LazyData: yes"? Thank you, Slava
2004 Aug 06
3
Slava Shklyar
Everytime I post a message this wanker sends me a whole load of shite. Can somone shut him down please?? Begin forwarded message: Date: Sun, 10 Nov 2002 10:20:13 +0200 From: "Slava Shklyar" <sava@techphone.co.il> To: "Richard" <richard@freespeech.org> Subject: Re: [icecast] Re [ogg] <p>qwertyuoupasdfghjklzxcvbnmqwertyuoupasdfghjklzxcvbnmqwertyuoupasdfghj
2011 Feb 02
6
how to set default_scope for the whole application?
I know I can set default_scope for individual active record model, but can I set one up for the whole application? thanks -- 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
2011 Sep 07
4
rspec testing inheritance
Hello, Is there any way to test model inheritance in spec? something like.. it { ChildModel.should < ParentModel } thanks.
2019 Jul 17
4
[RFC] change .gitignore for monorepo
James, we are using an *unmodified* llvm-project (master llorg), and just add some extra projects from our internal repos to the top-level. Thanks, Slava From: James Y Knight [mailto:jyknight at google.com] Sent: Wednesday, July 17, 2019 11:19 AM To: Zakharin, Vyacheslav P <vyacheslav.p.zakharin at intel.com> Cc: llvm-dev <llvm-dev at lists.llvm.org> Subject: Re: [llvm-dev] [RFC]
2009 Sep 28
1
filter activeresource response body
Hello, I have an ActiveResource model that loads imperfectly structured json from a third party service. I need to catch response before its parsed by the model and make a few corrections on the json. How should I go about doing this? thanks, Slava
2013 Nov 22
1
Res corosync.
Hello Everyone, I setup res corosync for distributed events and constantly see this message. [2013-11-22 15:26:37] WARNING[3147]: res_corosync.c:316 ast_event_cb: CPG mcast failed (6) [2013-11-22 15:26:37] WARNING[3147]: res_corosync.c:316 ast_event_cb: CPG mcast failed (6) Any information will be helpful. Slava. -------------- next part -------------- An HTML attachment was scrubbed...
2004 Aug 06
26
Icecast2 issues continue
Hi: Well, up until about a week ago, we had our stream up and running on 3 seperate mountpoints and it was rock solid. then we started hitting problems with disconnects and the like. I recompiled everything this morning and set it running again. But one mount has died already. We have 3 streams running. the first is the ogg files as they were encoded (egoplay.ogg). the second is a
2019 Jul 17
6
[RFC] change .gitignore for monorepo
Hello, My team is using some non-llvm projects along with llvm-project monorepo. The projects are checked out to the top level of llvm-project, and 'git status' would complain about them unless we add them to .gitignore. We do not really want to change llorg's .gitignore on our side, so may we propose changing llorg's .gitignore to ignore all top-level files/directories that are