Displaying 20 results from an estimated 10000 matches similar to: "New Rails Generator: Stage"
2008 Jun 24
0
Lockdown 0.5.10
What: Lockdown <http://stonean.com/projects/show/lockdown> is an
authorization/authentication gem for RubyOnRails 2.x
This version bundles Classy
Inheritance<http://stonean.com/projects/show/classy-inheritance>to
simplify the management screens. There is also a lot of template
cleanup
in this release.
*There were no changes to the security engine.*
If you have questions, please
2008 Mar 15
3
[HELP]No :secret given to the #protect_from_forgery call
I am starting to BDD. When specing the controller I want to test for
object creation:
it "deberia crear una nueva persona en post create" do
Usuario.should_receive(:create).with({:nombre => "camilo", :clave
=> "secreta", :tipo => "administrador"}).and_return(@usuario)
post ''create'', {:usuario => {:nombre =>
2020 Jan 06
2
[PATCH v2 0/3] drm/nouveau: Support NVIDIA format modifiers
On 1/5/20 5:30 PM, Ben Skeggs wrote:
> On Tue, 17 Dec 2019 at 10:44, James Jones <jajones at nvidia.com> wrote:
>>
>> This series modifies the NV5x+ nouveau display backends to advertise
>> appropriate format modifiers on their display planes in atomic mode
>> setting blobs.
>>
>> Corresponding modifications to Mesa/userspace are available here:
2005 Aug 18
10
Scaffolding, DRY and RHTML
Hello all, I''m working on a couple of Rails projects at the moment and
have noticed something that seems to go against the DRY principal.
Why, when scaffolding, are individual CRUD rhtml files created instead
of using one as a partial and having the others use that single
partial? This especially applies to the list rhtml. I am about to get
to the other operations and see how feasible
2006 Jul 26
6
mongrel_cluster
I''m currently working on 4 different RoR apps all using mongrel cluster and
each with their own config file in /etc/mongrel_cluster. I would like the
ability to stop|start|restart a single app. Anyone working on something
like this? I''d be happy to code it up and contribute this if there''s a
need.
Basically I would like this:
sudo /etc/init.d/mongrel_cluster restart
2006 Sep 18
1
href #
Hello all,
I''ve just upgraded to the latest mongrel and am having a problem with the
following link:
<a href="#" onclick="toggle_menu(''Manage'')">Manage...</a>
I''m now getting a routing error when I click on this link. It''s trying to
route to /Manage. Is there a different syntax I should be using? Btw, I
2014 Oct 13
16
[LLVMdev] RFC: variable names
I’d like to discuss revising the LLVM coding conventions to change the naming of variables to start with a lowercase letter. This should not be a discussion on the pain of such a transition, or how to get from here to there, but rather, if there is a better place to be.
My arguments for the change are:
1. No other popular C++ coding style uses capitalized variable names. For instance here
2009 Jul 22
2
Automatic differentiation in R
Hi
I recently gave a presentation about Automatic Differentiation (AD) and R at the Eighth Euro AD Workshop in Oxford (17/07/09). The presentation was intended as a general introduction to R and the desire for a generic AD interface for R. During the presentation I emphasised the need and the high level of interest that the R community has in developing such an interface and that input from the
2006 Jul 23
6
routes
My best guess at how to make this route
map.connect '':user'', :controller => ''user'', :action => ''profile''
makes my
link_to :controller => ''admin'', :action => ''index''
stop working ?
I''m needing urls like http://localhost:3000/username but without
breaking all my other controller index
2012 Mar 31
9
Dovecot stones
For the last few days I've been thinking about my company and what it really should do, and as much as the current plan seems reasonable, I think in good conscience I really can't help but to bring up an alternative plan:
The support for Dovecot is quite good already, but wouldn't it be better if it was GUARANTEED that your email server was ALWAYS working with zero downtime or other
2011 Aug 04
1
Re: Rosetta Stone
Here is my experience with Rosetta Stone:
I am SO unhappy with Rosetta Stone. I purchased a RS language program from a vendor who was using a fake licensing certificate and stolen credit cards to buy thousands of RS products and resell them. The guy is now in jail and was ordered to pay restitution to Rosetta Stone. I only found this out when I contacted them to get a deactivation code to
2008 Aug 21
2
Rosetta Stone Language
running Debian Lenny
Wine 1.0
Rosetta Stone 2.08.1
rosetta stone installed and seems to run fine
does not detect the language cd
i found this in the AppDB
mount -t iso9660 -o norock,map=off,ro /dev/cdrom /whereyouwantRosettaStonetolook
it mounts the cd and changes the file names from lowercase to uppercase
theres also a command to mount the iso
after that Rosetta Stone works
however i would
2002 Jun 26
2
change column name in a function
Hi,
I have the following function:
TEST <- cbind(Pox0t30.stone.1990.2000,
sqrt(apply(Pox0t30.stone.1990.2000[,2:11], 1, var)))
In rhe resulting Object TEST the added column is titled:
sqrt(apply(Pox0t30.stone.1990.2000[,2:11], 1, var)
I would like to change it to a sensible variable name like PoxMean. How
can I incorporate this into the above function?
Ulrich
--
2006 Nov 04
0
Namespacing controllers
Sorry for the dup, but didn''t get a response with the first one, so I
cleaned it up a bit in hopes of getting a response.
There has been a couple of blogs (one posted at
weblog.rubyonrails.com"Things you shouldn''t do in Rails") that are
stating namespacing controllers
are bad and that you should avoid using them.
This idea does not sit well with me and am curious as
2015 Feb 20
1
how to stop yum when networkmanager has broken resolv.conf?
Oh, and if you don't have killall installed, you can use:
ps -ef | grep yum
to get the pid and then use:
kill -TERM pid
or easier even is:
kill -TERM `pid of yum`
Chris
On Fri, Feb 20, 2015 at 4:13 PM, Chris Stone <axisml at gmail.com> wrote:
> try CTRL-Z to put that running process in your shell to sleep, then:
>
> bg 1
>
> to put the process in the background.
2006 Nov 04
0
Controllers and Namespaces (no problem, just questions)
I''m a little late on finding this article:
http://habtm.com/articles/2006/07/01/if-your-models-arent-namespaced-why-should-your-controllers-be-or-how-i-learned-to-stop-worrying-and-love-the-crud
This idea does not sit well with me and am curious as to the Rails roadmap.
I''ve seen a couple things demonstrated in examples (Rails Book, api) that
later turn to become deprecated. As
2006 Jun 28
6
Rails 1.1.3 and routes to controllers in directories
Hi,
All my controllers in subdirectories aren''t reachable by the normal urls
anymore since my upgrade to 1.1.3. 404 errors. Did anybody else
experience this?
grtz
Thijs
--
Posted via http://www.ruby-forum.com/.
2010 Jul 26
7
Bug on r-bc?
Dear All,
The following code should return 1, but it returns 0:
source("http://r-bc.googlecode.com/svn/trunk/R/bc.R")
bc("9 % 2")
Do you confirm this bug?
Paul
2007 Dec 29
2
Simply Rich Authenticator Released
Hi,
I have developed a mini Rails app using Rails 2.0.2, RESTful authentication
and Acts as State Machine. It has the following features:
1. Login
2. Logout
3. User Activation
4. Forgot Password
5. Reset Password
You can check out the code from:
svn checkout *http*://simply-rich-authenticator.googlecode.com/svn/trunk/simply-rich-authenticator-read-only
Happy New Year!
--
2006 Jul 26
2
sessions
hi!
im implementing a login system for a messageboard. tooked from a book.
pretty simple. everythings works great, but in the example the idea is,
when i want to create a new message, the author name shall be tooked
from the session[:user]
def create
params[:message][:date] = Time.now
params[:message][:author_id] = @session[:user].id #here!!
@message =