Displaying 20 results from an estimated 11000 matches similar to: "Caspistrano Deployment Options"
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 Aug 08
8
RESTful Rails Plugin
I am following the instructions on how to use RESTful Rails plugin found at
http://www.xml.com/pub/a/2006/04/19/rest-on-rails.html?page=3.
When I run the rake test:functionals
I get the following error message:
rake aborted!
undefined method `first'' for :book:Symbol
(See full trace by running task with --trace)
How can I fix this problem? I am using Rails 1.1.4 version. TIA
2006 Jun 28
20
Rails Vs JBoss Seam
I have been frustrated with J2EE technology just like any other developer who has worked in that
technology for a long time. This made me learn about Rails and I was excited about RoR. Today I
came across JBoss Seam framework and I am not able to contain my excitement.
My passion for JEE development is back. It seems like it is better than RoR. I would like to hear
differnt opinions about this
2006 Jun 01
3
Webtrends For Rails ???
Is there any tools that is similar to Webtrends that can be used with Rails based Web sites? TIA
http://www.ProblemSolvingSkill.net
Hone your problem-solving skills
2006 Oct 25
7
rest nested resources - Help please
I can''t believe I''m back again with another rest question. I did go through
the peepcode podcast.
I thought though you can have multiple nested resources, is that not true ?
I have this set up
map.resources :candidates do |candidate|
candidate.resources :canbackgrounds
candidate.resources :canpositions
end
I just coded up teh canpositions and now all
2010 Jul 08
4
testing authentication with basic_auth
hi, I''ve got an api which is using
authenticate_or_request_with_http_basic
What are you guys using to test this? I''m using rspec, and before I
was using rspec-rails, I was using authorize from Rack::Test to do the
authentication. However, authorize clearly doesn''t work when using
rspec-rails, so I''m wondering what everyone else is doing?
--
You received this
2006 Oct 12
7
Evil Scaffold
I read the Amy Hoy''s presentation on why scaffold is not a good thing for beginners. For admin
application, is it ok to use scaffold?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to
2006 Jul 14
1
Rails Deployment OS
Agile Rails Development book says that it is a good idea to deploy regularly during the
development process. So, I am planning to install Linux on my old PC for this purpose. But I don''t
know where to start. Which Linux do the Rails developers prefer and why? TIA.
2007 Feb 06
2
Testing RJS actions
Hi all !
This is my test:
def test_destroy_xhr
Article.expects(:find).with("1").returns(@article = mock("article"))
@article.expects(:destroy).returns(true)
delete :destroy, :id => 1, :format => :js
assert_template "destroy.rjs"
end
And my implementation:
def destroy
@article.destroy
respond_to do |format|
format.html {
2006 Jul 29
2
Finding sum
# Get a list of product ids from a form, then
# sum the total price
product_list = params[:product_ids]
total = Product.find(product_list).sum(&:price)
I understand the first list line and part of the second line, but what does the & symbol mean?
TIA.
2006 Jun 24
2
Migrations problem with Agile Rails book
I am following the instructions on Agile Web Development with Rails book "Iteratio E1: Capturing
an Order" section. When I run the migrations I get the following error.
rake db:migrate
(in /Users/balaparanj/work/depot)
-- execute("alter table line_items \n
add constraint fk_line_item_products \n
foreign key (product_id) references products(id)")
rake
2006 May 19
2
Using Rails with Subversion
I followed the instructions at Hivelogic on Building Subversion (SVN) on Mac OS X and installed it
on my machine.
Now I am following the rubyonrails wiki on How to Use Rails With Subversion, it assumes that you
have already created a subversion repository. Could someone please point me in the right direction
for creating a subversion repository? Searching lead me to macdevcenter which seems to be
2006 May 18
10
new user.
Question please.
I''ve bought the beta ''Agile web dev with rails''.
Are book related questions valid on the list please?
regards
--
Dave Pawson
XSLT XSL-FO FAQ.
http://www.dpawson.co.uk
2006 Oct 16
4
has many :through, accessing join model attribute (newbie)
from the rails recipes i have a has_many through "working".
I can list a user and what magazines he subscribes to. but I can''t
seem to figure out how to get the other attributes from subscriptions.
(like last_renewed_on)
reader_controller.rb
def list_reader
@readers = Reader.find(1)
end
----------
list_readers.rhtml
<dl>
<dt><%= readers.name %> </dt>
2006 Oct 25
4
need help on special HABTM relation
hey all,
I have three tables like this:
forum (id,title)
usergroup(id,title)
forum_perms(usergroup_id,forum_id,read,write,post)
is there a way to deal with that kind of relation with rails such as by
using has_and_belongs_to_many kind of stuff?
thanx in advance
Pat
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
2006 Dec 07
4
Removing a block of text within a string
When you first visit my site, you see a snippet (the first 75 words) of
the most recent post. If it exceeds 75 words, a link will be appended
to extend the post and read it in full.
Now, my problem is when I post a code snippet, and I use "pre" tags to
preserve its formatting, I don''t want that to show up on the snippet...
only on the full version of the post. The reason is
2006 Oct 25
7
Rails Authentication Choices
I am evaluating the Yahoo Browser Based Authentication Rails plugin for use
in my web app. It looks like a good idea to make the signup process easier
by using this plugin.
I see the following advantages for using it:
1. Less code ;-)
2. I don''t have to struggle with Acts As Authenticated or RESTful
Authentication plugins to get this functionality.
3. I can safely assume most of my
2008 Feb 05
9
ActiveResource / Creating an API
Hi,
I am currently looking at creating an api for a new RESTful app built
using rails 2.0. The two solutions I have come across seems to be
ActiveResource and ActionWebServices.
Although there seems to be plenty of documentation for the older
ActionWebServices (both online and in books), this does not seem to be
the case for ActiveResource.
Does anyone know of any decent articles / screencasts
2006 Jul 18
1
RadRails and SVN
I installed the Eclipse 3.2, Subclipse, and RDT: http://updatesite.rubypeople.org/release and
RadRails: http://radrails.sourceforge.net/update.
I am getting the "Failed to load JavaHL Library" error message when I go to Preferences -> Team ->
SVN tab.
This is also happening in standalone RadRails installation. How can I fix this? TIA.
2006 Jul 30
1
Doubt on composite index
The AWDwR book has the following:
add_index :categories_products, [:product_id, :category_id]
add_index :categories_products, :category_id
The first, composite index actually serves two purposes: it creates an index which can be searched
on both foreign key columns, and with most databases it also creates an
index that enables fast lookup by the product id. The second index then
completes