search for: my_project

Displaying 20 results from an estimated 21 matches for "my_project".

2012 Nov 19
0
has_one :through NoMethodError: undefined method `klass' for nil:NilClass when doing class_name on reflection
...as it''s not a big enough deal to look into a fix on our side. In Rails (3.2.9) console if I do: MyModel.reflections.each {|name,reflection| reflection.class_name } it raises: NoMethodError: undefined method `klass'' for nil:NilClass from /path/to/rvm/gems/ruby-1.9.3-p194@my_project/gems/activerecord-3.2.9/lib/active_record/reflection.rb:385:in `block in source_reflection'' from /path/to/rvm/gems/ruby-1.9.3-p194@my_project/gems/activerecord-3.2.9/lib/active_record/reflection.rb:385:in `collect'' from /path/to/rvm/gems/ruby-1.9.3-p194@my_project/gems...
2007 Mar 08
1
cant fully capture child output
...ient. There most be something academic I''m missing :/. I looked at examples in Pickaxe and Ruby PLEAC library ... and I believe the following should work: # called from within do_work... def backup(repo) logger.info(''SvnWorker backup repo ''+repo) tmp = [] my_project = DIRS[:project_repos] + "/#{repo}" dummyfile = ''backuptmp'' temp_file = "#{DIRS[:backups]}/#{dummyfile}" svn_cmd = "svnadmin dump #{my_project} | gzip -9 > #{temp_file}" tmp << "piping to tmp" results[:txt] = tmp...
2007 Mar 05
0
dynamic status back to client...
Hi, I have a long worker process I want to capture the output as dynamically as possible and send it to the client. I do the following currently: class SvnWorker < Worker::Base def do_stuff(args) tmp = [] my_project = args[:repo] # Import the contents of a 20 Meg project into a bare bones svn repo. import_status = `svn import #{path_to_extracted_zipdir} file://#{my_project}` tmp = import_status results[:response] = tmp end def status results[:response] end end This only fills results[:response] a...
2012 Oct 01
1
active_model_serializers, more than one level deep of associations, specifying serializers per association
...12s".* FROM "my_model_12s" WHERE "my_model_12s"."my_model_10_id" = 123 Completed 500 Internal Server Error in 824ms SystemStackError (stack level too deep): actionpack (3.2.8) lib/action_dispatch/middleware/reloader.rb:70 Rendered /path/to/ruby-1.9.3-p194@my_project/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.0ms) Rendered /path/to/ruby-1.9.3-p194@my_project/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.8ms) Rendered /path/to/ruby-1.9.3-p194@my_project/gems/a...
2006 Jun 02
2
[LLVMdev] Compiling natively vsftp with LLVM
...ins inline asm so cannot be compiled by gcc-3.4 frontend. So I decided to firstly link together the llvm objects and libcrtend and compile it to native .o file and then link it with sysdeputil.o . The Makefile is sth like this: vsftpd: $(OBJS) gccld -r -native -o vsftpd.o $(OBJS) -L/home/xianai/my_projects/llvm/cfrontend/x86/llvm-gcc/lib/ -lcrtend gcc -o vsftpd vsftpd.o sysdeputil.o `./vsf_findlibs.sh` But the gcc/ld still cannot find the reference to __main. Do I have to compile crtend to native to solve this problem? -- Regards, Nai
2011 May 26
2
Rails new without test unit
When creating a new rails project (3.1.0.rc1) with no test unit options, it still create test unit rake tasks. rails new my_project --skip-test-unit rails g : TestUnit: test_unit:controller test_unit:helper test_unit:integration test_unit:mailer test_unit:model test_unit:observer test_unit:performance test_unit:plugin test_unit:scaffold Is this correct ?? -- You received this message because you are su...
2010 Jan 19
15
git clone locally
Hi, I follow the instructions below to set up a git repository with gitosis on my home ubuntu server. I can connect to the repository remotely perfectly and set up a new repository named My_Project. I successfully push the content of My_Project to this repository using the remote computer with an SSH key. Now I want to clone My_Project locally onto another directory within the unbuntu server. How can I do this? The instructions are only to clone remotely. It appears that the clone comman...
2007 Dec 21
0
db:migrate problem
I''m having a bit of trouble getting a rails project to build properly within cruisecontrolrb. My cruise task is in lib/tasks/my_project.rake, and looks like this: task :cruise => [''db:test:purge'', ''db:migrate'', ''db:test:prepare'', ''test:coverage:clean'', ''test:coverage:prepare'', ''test:coverage:run'', ''test:coverage:v...
2006 Jun 02
0
[LLVMdev] Compiling natively vsftp with LLVM
On Fri, 2 Jun 2006, Nai Xia wrote: > The Makefile is sth like this: > > vsftpd: $(OBJS) > gccld -r -native -o vsftpd.o $(OBJS) -L/home/xianai/my_projects/llvm/cfrontend/x86/llvm-gcc/lib/ -lcrtend > gcc -o vsftpd vsftpd.o sysdeputil.o `./vsf_findlibs.sh` > > > But the gcc/ld still cannot find the reference to __main. > Do I have to compile crtend to native to solve this problem? gccld -r doesn't work with -native. Also, y...
2006 Mar 13
2
Engines with InstantRails
...in and active RBAC engines but having trouble getting them to install. I''ve checked the following but can''t find any info on how to get it to work. http://rails-engines.org/wiki/pages/Engines+plugin I''ve also tried the following: C:\InstantRails-1.0\rails_apps\my_project>ruby script/plugin install -x http://svn.rails-engines.org/plugins/engines but get the following error. C:/InstantRails-1.0/ruby/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/commands /plugin.rb:675:in `method'': wrong number of arguments (0 for 1) (ArgumentError) from C:/InstantRai...
2008 Jun 09
2
SVN credentials
Hello All, Where are the username and password for your SVN repo stored for a cruisecontrol.rb project? I can see where you specify it when you add a project but I have been unable to find it to change it. Thanks -- Steve Kickert CEO Riverock Technologies www.riverocktech.com 952-232-5280 (direct) 612-965-1909 (mobile) -------------- next part -------------- An HTML attachment was
2010 Oct 06
1
Dynamic Variable Name
Is it possible to dynamically determine a variable''s name? I would like to do: $project_NAME where NAME can be anything. I''ve tried this (for experiment purposes): $project_name = ''my_project'' $project_my_project = ''/mnt/pa/test'' #this variable will be set out of this script notice($"project$project_name") This is not parseble! Is it possible? Any alternative? Best regards, Rodrigo -- You received this message because you are subscribed to the...
2007 Feb 04
10
where to install script.aculo.us ?
I''d like to try autocompletion, and my understanding based on AWDWR:2, and on various website tutorials, is that I should install the script.aculos.us javascript library. My question is how to do that. The instructions on their site tell me to "Put prototype.js, scriptaculous.js, builder.js, effects.js, dragdrop.js, slider.js and controls.js in a directory of your website,
2013 Jun 28
1
[HELP PLEASE!] attachment_fu and aws-s3
...n: bucket_name: access_key_id: secret_access_key: Im getting this error: AWS::S3::PermanentRedirect in PhotoController#create The bucket you are attempting to access must be addressed using the specified endpoint. Please send all future requests to this endpoint. Rails.root: /home/patrick/my_project Application Trace | Framework Trace | Full Trace app/controllers/photo_controller.rb:12:in `create'' Can anyone help me with? Thanks! Patrick -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Ta...
2008 Apr 11
0
[LLVMdev] Setting up new project
Lane Schwartz wrote: > [snip] > OK then. I didn't realize that having a newer version would be a problem. > > I compiled and installed autoconf 2.59. I still get the same problem: > > $ autoconf --version > autoconf (GNU Autoconf) 2.59 > > $ cd /opt/src-llvm/projects/sample/autoconf > $ ./AutoRegen.sh > $ cd .. > > $ ./configure
2006 Jun 02
2
[LLVMdev] Compiling natively vsftp with LLVM
...rs, maybe it deserves its place in FAQ or in man page for LLVM. On Friday 02 June 2006 13:13, Chris Lattner wrote: > On Fri, 2 Jun 2006, Nai Xia wrote: > > The Makefile is sth like this: > > > > vsftpd: $(OBJS) > > gccld -r -native -o vsftpd.o $(OBJS) -L/home/xianai/my_projects/llvm/cfrontend/x86/llvm-gcc/lib/ -lcrtend > > gcc -o vsftpd vsftpd.o sysdeputil.o `./vsf_findlibs.sh` > > > > > > But the gcc/ld still cannot find the reference to __main. > > Do I have to compile crtend to native to solve this problem? > > gccld -r does...
2008 Apr 11
3
[LLVMdev] Setting up new project
On Fri, Apr 11, 2008 at 12:35 PM, Tanya M. Lattner <tonic at nondot.org> wrote: > > > Below is what happens when I attempt to autoconf and configure the > > sample project that ships with LLVM. This is on Mac OS X 10.5 with > > autoconf 2.6.0. For reference, /opt/src-llvm is where my llvm sources > > are, and where I built those sources. My project is in >
2006 Feb 23
20
ActiveRbac 0.3 release - We''re now on Engines
Hi I have just released the 0.3 revision of ActiveRecord - make sure to get the fresh, hot packages from https://activerbac.turingstudio.com/releases What is ActiveRBAC? ------------------- ActiveRBAC is a Ruby on Rails library that provides a full stack RBAC (Role Based Authorization) system with user, group, role and permission management. It provides models and controllers to edit
2007 May 22
7
ActiveRecord::Base.connection.create_database defaults to latin1
If you use ActiveRecord::Base.connection.create_database you''ll notice that by default the created db will use latin1 encoding. I created a plugin to handle different charset and collations (on top of helping you with other boring DB tasks). You can check out the early version of the plugin svn checkout svn://rubyforge.org/var/svn/raketasks/db_tasks (I really need to move my projects out
2010 Sep 13
4
Installation and versioning issues
Ok, I''m new to Rails, and I was hoping to get some advice on how to get started. I''m coming from a .NET background, and from what I''ve seen of Rails, it looks perfect for a little web idea I had. So I got a book from the library and sat down to install it on my Ubuntu box. Immediately I hit versioning issues. - I installed ruby with apt-get and it gave me 1.8.7.