similar to: Rails namespace help requested

Displaying 20 results from an estimated 900 matches similar to: "Rails namespace help requested"

2009 Jul 31
2
Undefined method updated? for <model object>
Hi, I have two model say- ZipCode < ActiveRecord::Base belongs_to :state_provinces end StateProvince < ActiveRecord::Base has_many :zip_codes end if I do @zip_code.update_atribute(:city, "My City") its giving Undefined method updated? for StateProvince if I remove belongs_to specifier in ZipCode class then it work fine. Any alternate solution?? Thanks -- Regards, Himanshu
2008 Nov 19
1
[LLVMdev] Why is "typedef boost::shared_ptr<MyClass> MyClass_ptr" named "struct.boost::MyClass_ptr" by llvm-g++?
Hi, In the code below, MyNamespace::MyClass_ptr will be named "struct.boost::MyClass_ptr" by llvm-g++, and not "struct.MyNamespace::MyClass_ptr" as I expected. I observed this with the real boost::shared_ptr but used the code below (also attached as structnametest1.cc) on the demo page (http://llvm.org/demo/index.cgi) to reproduce the behavior. When I extended my test code
2007 Nov 28
6
textmate bundle
Does anyone else have issues running rspec textmate bundle? I''ve got revision 2997, but the blasted thing just won''t run. It is checked out to my /Users/zdennis/Library/Application Support/TextMate/Bundles/RSpec.tmbundle When it runs I get the below error... "textmate" is not a valid class name
2006 Mar 09
1
Capistrano Error undefined method ''local''
I get an error after running Capistrano deploy... zdennis@silver:~/source/projects/listedpropertiesllc.com$ rake deploy (in /home/zdennis/source/projects/listedpropertiesllc.com) loading configuration /usr/lib/ruby/gems/1.8/gems/capistrano-1.1.0/lib/capistrano/recipes/standard.rb loading configuration ./config/deploy.rb * executing task deploy ** transaction: start * executing
2006 May 17
6
Problem Consuming a Web Service
I''m trying to consume a webservice from my rails application and have discovered an interesting problem. I can call webservice functions just fine, as long as they do not require any arguments, but function that do require arguments do not work. The arguments are sent as either null or an empty string. My API has these method definitions: api_method :otherFunction,
2006 Jul 14
18
ActiveRecord Love While We''re At It
I am working on and will be publicly showing ActiveRecord some love around the time of the RubyConf*MI [1] in late August. My main focus is getting AR to better handle inserts, updates and merges when working large sets of data. It can improve improve performance by 400% to 600% in preliminary benchmarks. I am coding this in a way so it can be patched to AR easily, and with that in mind
2006 Mar 16
2
Developers Wanted
Hello - Gusto.com (http://www.gusto.com/) is looking for talented Ruby programmers to help us build the next version of our website. Currently we''re looking for contract positions but will consider full time employment in Springfield, MO or San Francisco, CA. Requirements: 3-5 years database driven web development in Ruby, Java, Python or similar 2+ years SQL experience Experience
2006 Aug 11
4
1337 Speak For Ruby and an ActiveRecord 1337 Speak Extension - 0.0.1
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 ActiveRecord Extension 1337 - 0.0.1 is released! A 1337 speak module for ruby is released! It is bundled with the ActiveRecord extension activerecord_1337. This allows you to encode your application in l33t speak. You can use the L337 module standalone or use it bundled with the ActiveRecord extension. This plugin can be easily used as a Rails
2006 Mar 14
14
Gusto.com Rails Site
Hello - I wanted to announce a very large web application that was built with Ruby on Rails and runs the site Gusto! http://www.gusto.com/ . It was deployed yesterday in a little over 4 months of development with 3 developers. The origins of the site were being developed in Java using Hibernate + Tapestry and the decision was made to port the 100+ table model to Rails to see if there were
2004 Aug 06
12
0.4.0 Compiling Under Mingw
> I am compiling wxRuby 0.4.0 on WinXP Home under MingW and MSYS 1.0. I can > compile wxWindows and Ruby fine and I get about 20 minutes into the wxRuby > compile and it quits, It says: [snip] > C:\mingw\bin\..\lib\gcc-lib\mingw32\3.2.3\..\..\..\..\mingw32\bin\ld.exe : > cannot find -lwxmsw241d > make: *** [wxruby.so] Error 1 > I replaced the $LIBS in the extconf.rb file
2010 May 18
1
New stable release series -Xapian1.2.0 released
Le mar 18/05/10 12:10, emmanuel at engelhart.org a ?crit: > Le mar 18/05/10 11:49, "Charlie Hull" charlie at j > uggler.net a ?crit:> On 14/05/2010 18:29, Emmanuel Engelhart > wrote:> > -----BEGIN PGP SIGNED MESSAGE----- > > > Hash: SHA1 > > > > > > Le 14/05/2010 13:31, Charlie Hull a > ?crit> : > >> On 29/04/2010 08:22, Olly
2010 Jan 28
3
Problem getting Xapian working with Burmese
On Fri, Aug 21, 2009 at 02:44:44PM +0200, emmanuel at engelhart.org wrote: >> I want to update my request. >> Is my question bad formulated? too trivial? ... or maybe pretty >> complicated/unclear? > >I think nobody answered as it was hard to follow your example because >the Burmese characters seem to have been mangled (at least the message I >received wasn't
2006 Aug 10
4
Speeding up ActiveRecord creation?
My completely empty model (no validation callbacks etc etc) takes an average of 0.05 seconds to create, at least according to Benchmark.realtime{200.times{Message.create(:from => "me@here.com", :message_type => ''email'', :subject => "hello", :body => "goodbye", :sent_at => Time.now)}}/200 That''s a little slower than
2006 Feb 12
3
memcache-client/cached_model help
Hi - Just downloaded and installed the memcache-client and cached_model gems and am trying to test it out on a development setup. I added this to my environment/development.rb CACHE = MemCache.new :c_threshold => 10_000, :compression => true, :debug => true, :namespace => ''eztrip'',
2009 Jul 10
2
[LLVMdev] Help: Instruction Pattern Matching question
Hello, I am having some trouble matching patterns in targetinstructioninfo.td file with the CodeGen expectation. Could anybody please help? Here is the example: I want to emit instruction for adding 2 different kind of oprands. Basically i want to mix register types when I define the instruction for add,sub etc I define the instruction TargetInstruction.td as follows: class MyInst <opcode
2006 Aug 19
3
Activerecord validation problems
Hi everyone, I''m having trouble validating a model. The corresponding table has some boolean columns: create_table :permissions do |t| t.column :project_id, :integer, :null => false t.column :group_id, :integer, :null => false t.column :read, :boolean, :null => false, :default => false t.column :write, :boolean, :null => false, :default =>
2017 Oct 31
2
Geospatial matching status?
Hi Does geospatial coordinates indexing/matching works in 1.4.5? I have found almost no documentation on this but it seems the development is stopped (merged?). Regards Emmanuel -- Kiwix - Wikipedia Offline & more * Web: http://www.kiwix.org * Twitter: https://twitter.com/KiwixOffline * more: http://www.kiwix.org/wiki/Communication -------------- next part -------------- A non-text
2004 Jun 18
1
Problems running RSPerl w. SuSe 9.0 / Perl 5.8.1
Hi, installation of RSPerl works fine without errors. Running RSPerl does not work at all. If I start R, and then enter this command: library(RSPerl) this error appears: ----------------- > library(RSPerl) Error in dyn.load(x, as.logical(local), as.logical(now)) : unable to load shared library "/usr/local/lib/R/library/RSPerl/libs/RSPerl.so":
2006 Apr 06
3
Deploying with Capistrano via cron
I''m attempting to auto deploy a rails application to a development server periodically during ongoing development. I''ve setup ssh keys to allow the proper user auto login permissions, but have ran into 2 issues. 1. When the script is run from a cron job as the same user as I currently manually deploy from I receive an error when reaper tries to execute - "can''t
2006 Mar 08
4
Performance with many look-up tables
Hi, I have an app - a first cut ROR - so it''s a bit of a mess. I''m now trying to clean it up. The app relies on a heap of look-up tables that are, by and large, static. I''m wondering where and how to initialise these collections once - so that I don''t have to keep hitting the database every time I start a new action. Can I initialise the collections at the