Hi everyone i want to test a rails app and i have no idea on testing the
rails app. Can any guide me how to test a rails app and what are the best
way to test an app.
Thanks in advance
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
you can use https://github.com/grosser/test_after_commit to test
after_commit while keeping transactional fixtures
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To post to this group, send em
On Thursday, August 2, 2012 3:37:15 PM UTC-6, Peter Havens wrote:
> ...However, when I start the Rails console from inside the dummy
> application, Pry doesn't seem to be working...
>
It looks like things work if I specify pry-rails in the engine Gemfile like
this (in addition to having it in
I created a new Rails 3.2.6 engine via a command like this:
$ rails plugin new $engine_name --skip-bundle -d $database_type -T
--dummy-path=spec/dummy --full --mountable
Then, I set it up with RSpec 2.11.0, and included the "pry-rails" gem as a
dependency:
$ grep pry-rails $engine_name.gemspec
Each of those are for a specific gem (IE, mail-2.4.4, passenger-3.0.14,
etc). Is there a Gemfile.lock file that complements the Gemfile you pasted
in and is in the Redmine application folder?
Weston
**
On Thu, Aug 2, 2012 at 11:03 AM, Michael R. wrote:
> Weston, Below is the Gemfile. Which
Weston, Below is the Gemfile. Which Gemfile.lock should I post? Thank
you
[root@localhost html]# find / -name Gemfile.lock
/usr/local/lib/ruby/gems/1.8/gems/mail-2.4.4/Gemfile.lock
/usr/local/lib/ruby/gems/1.8/gems/passenger-3.0.14/test/stub/rails_apps/3.0/empty/Gemfile.lock
/usr/local/lib/rub
It sounds like the question has been sufficiently answered.
But if you are looking for more content on the subject, check out the Rails
Guides on Associations.
http://guides.rubyonrails.org/association_basics.html#the-types-of-associations
On Tuesday, July 31, 2012 2:05:07 PM UTC-5, Ruby-Forum.
Please paste in the Gemfile and Gemfile.lock.
On Tuesday, July 31, 2012 9:08:24 PM UTC-5, Ruby-Forum.com User wrote:
>
> I am trying to install redmine on my Centos 5.8 box per
>
> http://www.redmine.org/projects/redmine/wiki/HowTo_install_Redmine_on_CentOS_5.
>
>
> Redmine is based on the Ruby
index: GET /media
show: GET /media/1
edit: GET /media/1/edit
create: POST /media
update: PUT /media/1
new: GET /media/new
delete: DELETE /media
I wasn't suggesting changing this retroactively, I was supporting the
idea of the inflections gem, which would allow an replacement that
didn't require d
Hi ,
My learning curve in ruby and rails is in progressing.
1. First learn Ruby basic things like iterations, looping , class and
objects and then
2. Start jump into the Rails.
Ruby my favorite book is Programming Ruby by "Dave Thomas" which is
currently following really good one.
for Rai
On Wed, Aug 1, 2012 at 8:38 PM, John Merlino wrote:
> But wouldn't your suggestion that defeat the purpose of using
> accepts_nested_attributes_for - where when someone submits
> a form with associations, it saves attributes on associated
> records through the parent by calling Parent.create, for
Hi all
I have two site with abc.com(or www.abc.com) and de.abc.com.Both
running on different servers.
I want to set a domain in cookie so that both site should never
share cookie with each other.
Thanks in advance...
--
You received this message because
This is the code which I am using for select_tag.
<% driver = d.driver ? d.driver : nil %>
<% selected = d.driver.nil? ? 0 : d.driver.id %>
<% current_drivers = @current_user.sorted_drivers.collect{ |u| [u.name,
u.id]} %>
<%= select_tag(:id, options_for_select(
On 2 August 2012 07:19, Ajit Teli wrote:
> Dear all,
>
>I have two columns in a table: 1. vehicles, 2. drivers.
> The table lists all the vehicles in vehicles column and drivers column
> will have select_tag dropdown to select a driver.
>
> For ex, following drivers are set to vehicles.
>
> ve
14 matches
Mail list logo