I want to set up a new project and use all the gems in a previous
project in their current state in that project. What should I do to
make this happen? Do I just copy and paste the Gemfile.lock over to
the new project Gemfile.lock?
Thanks!
Shawn
--
You received this message because you are
Hi all... relative new guy
I am a new rails developer but am working as hard as I can to become
competent.
What are your best practices for locking down an environment to
develop projects in? I want to set up a server and also a local
environment then build projects for ... say... 6 months
a .rvmrc for this project.
It just seems odd to me to have to keep doing gem install rails... I
feel like I am missing something?
Shawn
On Jan 31, 9:00 pm, Philip Hallstrom phi...@pjkh.com wrote:
On Jan 31, 2011, at 5:48 PM, slindsey3000 wrote:
Hi
I am wondering what is the best practice
Hi
I am wondering what is the best practice for using gemsets with rails
projects.
What is the correct workflow for developing multiple rails3 projects
each with its own gemset. SPECIFICALLY I am not sure where I do a gem
install rails when I will have more than one rails project. Do I need
to
::ActiveRecordError, :with = :method_name
private
def method_name
redirect_to your_path
end
end
- Original Message -
From: slindsey3000 slindsey3...@gmail.com
To: Ruby on Rails: Talk rubyonrails-talk@googlegroups.com
Sent: Thursday, August 12, 2010 10:34 AM
Subject: [Rails] ActiveRecord
Hi all,
I have some issues when a link is clicked twice quickly that deletes
an ActiveRecord row.
All I really want to do is set up some universal catch that will
redirect all application errors to index.
Best way?
Thanks!
Shawn
--
You received this message because you are subscribed to the
I am banging my head against a wall here.
I am in index
in index I check if it was the first time index has been called for
the app.
if so I make some changes to the db and redirect_to right back to
index.
But... all heck seems to break loose. It seems when I redirect_to it
just kinda
I am developing in Rails 2.X (I forget the latest release!)
Anyway. I need to incorporate email capability to my app. Is
actionmailer the way to go or is there a plugin that is better. It
seems quite easy and straightforward. I have already created some
simple functionality with actionmailer.
Is that done just in environment.rb?
On Jun 10, 8:08 am, Frederick Cheung frederick.che...@gmail.com
wrote:
On Jun 10, 2:58 pm, slindsey3000 slindsey3...@gmail.com wrote:
Everything seems to work fine but no emails are actually sent from
development mode... How can I get it to actually send
Yes!
On Jun 5, 1:52 pm, Ugis Ozols ugis.ozo...@gmail.com wrote:
There's a workaround
-http://groups.google.ca/group/rubyonrails-talk/browse_thread/thread/2...
- last post by Ahmed Mohamed.
On Jun 5, 11:34 pm, slindsey3000 slindsey3...@gmail.com wrote:
I have git installed on my windows
I have git installed on my windows machine.
Am typing ruby script/plugin install
git://github.com/defunkt/acts_as_textiled.git
In my vendor/plugins directory it shows acts_as_textiled.
However, there are no files in the folder and obviously when I run
rails I get undefined method
Thanks all!
On May 8, 4:03 pm, Marnen Laibow-Koser li...@ruby-forum.com wrote:
slindsey3000 wrote:
I have had the worst time getting my forms to accept input for more
than one model. I tried using accepts_nested, and other techniques
and finally got it all working. But it was not fun. I
I have had the worst time getting my forms to accept input for more
than one model. I tried using accepts_nested, and other techniques
and finally got it all working. But it was not fun. I never did get
accepts_nested working!
I do need more experience.
I did hit upon one idea that I just
History... before it went to heck...
I have been working a project in Netbeans for a month. I did a gem
update outside of Netbeans while I was installing ImageMagick and
RMagick... I also had to remove one verson of ImageMagick to use the
one compatible with RMagick.
Everything was working
History... before it went to heck...
I have been working a project in Netbeans for a month. I did a gem
update outside of Netbeans while I was installing ImageMagick and
RMagick... I also had to remove one verson of ImageMagick to use the
one compatible with RMagick.
Everything was working
Hi all anyone got an idea of how to create an animated gif using
images uploaded in paperclip?
OR
some way to display rotating images in rails.
(i'm trying to create rotating sponsor images on the fly from user
uploads)
Thanks,
Shawn
--
You received this message because you are subscribed
routes.rb
map.connect ':controller/:action/:id/:draw_id', :controller =
admin, :action = edit_position
In a view I have:
%= link_to #...@draw.positions[0].team}, { :controller
= :admin, :action = :edit_position,
:id
...
On Apr 13, 4:54 pm, Craig White craigwh...@azapple.com wrote:
On Tue, 2010-04-13 at 16:44 -0700, slindsey3000 wrote:
routes.rb
map.connect ':controller/:action/:id/:draw_id', :controller =
admin, :action = edit_position
In a view I have:
%= link_to #...@draw.positions[0].team
, :draw_id =
@draw.id
On Apr 13, 7:00 pm, slindsey3000 slindsey3...@gmail.com wrote:
It is not in my params hash though
I initially did nothing with my routes.rb... then seeing that the only
param I got was :id, I started playing around.
can anyone give me an example of a link_to
Yes, you are correct. Terrible naming. But was done to try quick
example. I am creating new player so
@cpr it won't find player because I am in fact creating one. I
know... terrible code.
It seems to be looking for Active Record object and I am passing in
array...
Help!
On Mar 28, 6:08 am,
Just trying a simple example to try to get nested to work... but can't
get it! Been 2 days! Please help. VERY SIMPLE controller, view,
models... listed below.
--ERROR
MESSAGE--
21 matches
Mail list logo