Displaying 20 results from an estimated 10000 matches similar to: "Is there no generator in rails 3?"
2010 Nov 24
2
Puzzled about the rspec tests generated by Rails3
Hi all
I am puzzled about the rspec tests that are generated by Rails3
scaffolding. I am however not sure if this is the correct place to
discuss this issue.
It might be that a rails ML/chat is better suited for that kind of
discussion. It just depends on who is responsible for that code.
Somehow I am too stupid to find that out, so please bare with me if I
produced only noise here.
Cheers
2010 Aug 12
2
rails 3- Could not find generator session.
Hello,
I am trying to use Authlogic in Rails 3.
when I run " rails g session admin_session" to create the session, I
get-
======================
"Could not find generator session."
======================
I''m using Rail 3 RC and working off the Rail3 Branch now
======================
GemFile:
gem ''authlogic'', :git =>
2002 Oct 23
2
Strange filenames after copy to smb-share
Hye,
we use a samba 2.2.3a which works fine most time.
now i found that one client has some strange problems.
when the user copies files to the smb-share some of them will be created
with very strange filenames.
For example let's say the original file is named:
my_nicetestfile.txt then on the server the file will be created as
my_nic~1.txt and also a file will be created called
2010 Jun 10
9
Rails3 beta4 + Ruby 1.9
When I try rails console using Rails3 beta4 and Ruby 1.9.1-p378 I
cannot save a record:
> rails console
Loading development environment (Rails 3.0.0.beta4)
ruby-1.9.1-p378 > g = Game.new
=> #<Game id: nil, player_id: nil, versus_id: nil, finished: nil,
created_at: nil, updated_at: nil>
ruby-1.9.1-p378 > g.save
NameError: undefined method `<=>'' for class
2006 Sep 08
2
rails equivalent to symfony admin generator?
I''m an experienced PHP programmer (don''t know Ruby yet), and I''m playing
around with Symfony (PHP MVC framework similar to Rails) and I found
myself asking if there''s really any reason to use it over Rails.
From what I''ve seen just about every feature in Rails is superior except
one very important thing - Symfony''s admin generator. This is
2011 Apr 29
1
Custom controller for scaffold generator
Hi,
i put my customized controller in
lib/templates/scaffold_controller/controller.rb
for using in scaffold generation.
The problem is that the original controller template is used!
Where do i put my custom controller template? Or maybe is this a bug?
I''m using Rails v. 3.0.7 (Ruby 1.9.2p180)
Thanks in advance,
ciao
iwan
--
Posted via http://www.ruby-forum.com/.
--
You received
2004 Apr 02
3
social network bug! (PR#6729)
Full_Name: Yoon, hye sung
Version: 1.8.1
OS: window
Submission from: (NULL) (203.255.177.155)
> library(sna)
Warning message:
package sna was built under R version 1.9.0
>
What's this message mean?
2012 Jun 26
2
Error with rake command
I am using Rails 2.3.8 application and when I enter rake command it
gives following error :
ms@ms-HP:~/OpenStreetView$ rake
WARNING: ''require ''rake/rdoctask'''' is deprecated. Please use ''require
''rdoc/task'' (in RDoc 2.4.2+)'' instead.
at /home/ms/.rvm/gems/ruby-1.9.3-p194@global/gems/rake-0.9.2.2/lib/rake/rdoctask.rb
rake
2006 Jun 19
2
is there a ''Markaby_scaffold'' available?
I discovered Markaby recently, and am loving it! I''m generating scaffolds,
then converting them to Markaby ''.mab'' files. It got me wondering... Has
anyone written a plugin to generate scaffolds in Markaby, yet?? That would
be truly awesome if there was on out there already.
--
Best Regards,
-Larry
"Work, work, work...there is no satisfactory
2011 Jun 14
2
scaffold_controller generator
Hi:
I''m new to RoR and I apologize if this is a dumb question but I''ve
read the guides, searched the archives and found nothing.
If I generate a model object and then the scaffold_controller the
result is different than just running the scaffold generator (the
_form partial has no fields in the first case).
I did not expected this and I wanted to first create the models, tweak
2011 Mar 26
2
Rails 3 + SSL
After reading tons of posts about buying certs, etc, I''m still
confused. Please point me in the right direction. Here''s the
question:
I have a rails3 site (www.mysite.com). I want to have some pages use
ssl, and some not. It appears the require_ssl approach is pre-Rails3
and there are other alternatives. Most of the posts I read talk about
using a diff domain for ssl
2010 Sep 27
3
streaming response body to client?
So I''d like to stream my response body to the client.
At least under Rails2, it looks like you can pass a Proc to render
:text, to do that.
I am in a Rails2 app right now, but will upgrade to Rails3 sometime in
the next couple months, so don''t want to set myself up for failure.
Anyone know the status of streaming responses in Rails3? Is it
possible? Is there a different API
2002 May 22
4
fitting non linear data
Hye every one,
My question will certainly seem stupid as I am quite a beginner in R.
I would like to trace a curve which fits these two vectors:
x<-c( 2,3,4,5,6,7,8,10 )
y<-c( 20, 12, 8, 6, 5, 4.5, 4, 3.8)
It seems to follow a non linear model.
Could anyone help me because I could'nt find the answer I am looking for
in the FAQs.
In advance thank you for your time.
G. Lefebvre
2011 Jul 18
1
rails server being aborted due to mysql lib file not available
Hi,
My system has the following :
MacOs Leopard
Rails 3
Ruby 1.9
Mysql 5.1.58
mysql2 ruby gems
My problem is that when i give "rails server", the task aborts with
the foll error
rails server/Users/nisha/.rvm/gems/ruby-1.9.2-p180@rails3/gems/
railties-3.0.5/lib/rails/script_rails_loader.rb:11: warning: Insecure
world writable dir /usr/local/bin in PATH, mode 040777
2002 May 16
1
MS Office cannot access a mapped networkdrive
HYe
i run a samba 2.2.1a on RedHAt 7.2 Kernel 2.4.18
All works fine but if a user tries to open/save a file from MS-Office
application he receives a error when accessing a mapped network-drive:
"You do not have the permission, please contact your Administrator"
Accessing this share via WindowsExplorer works fine., also all other
applications can access this share via file open/save
2008 Dec 01
1
samba & ldap how work group ?
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hye all,
i have install samba as PDC with openldap authentification everything
work fine.
But i want to create diff?rent group with diff?rent privileges on folder
How gestion of group work with Openldap authentification because users
are not in /etc/passwd and domain group are not in /etc/group !?
I don't find information about this...
can
2006 Aug 06
4
DRY Scaffolds
I''ve got 8 scaffolds, each one can be considered an ''item'', such as a
blog, photo, etc. Using login_engine and user_engine, I list all blogs
belonging to a user by saying:
@user=session[:user]
@blogs=@user.blogs.find(:all)
but then let''s say I want to create an option where I want to slice it
differently:
@user=session[:user]
if @someOption ==1
2005 Nov 30
2
Missing scaffold features
Hello everyone,
First off, I''m trying to generate a discussion here, not provoke an
argument or get people upset. Please bear this in mind if/as you read
on...
To my mind, there''s 3 missing features from scaffolds that would make
them a whole lot more useful. These are:
- auto-generation of a drop-down list for inputting/updating
has_many/belongs_to relationships between
2011 Mar 07
3
.rvmrc file not working?
hello,
i am trying to install gemsets but my .rvmrc file not working so i
have create gem sets with the command rvm gemset create rails3 but
when i am using rvm info its not showing the gemsets in the
environment.. this is the content of .rvmrc file
rvm 1.9.2@rails3 --create..help me guys..
thanks
nishant
--
You received this message because you are subscribed to the Google Groups "Ruby
2012 Jan 15
2
ruby-debug19 error undefined symbol: ruby_current_thread
I am trying to deploy a Rails app ( Rails 3.0.9 / Ruby 1.9.2 ) in
production (Debian 6)
it''s running fine in development mode on localhost ( OSX)
I am getting this error from Passenger : undefined symbol:
ruby_current_thread
/var/www/vhosts/mydomain.com/rails/testsbga/shared/bundle/ruby/
1.9.1/gems/ruby-debug-base19-0.11.25/lib/ruby_debug.so: undefined
symbol: ruby_current_thread -