Displaying 20 results from an estimated 10000 matches similar to: "Re: How to create 10000 pseudo data for Testing in RoR"
2012 Sep 21
9
Using PostgreSQL with RoR on windows. Help!
So I just got involved in a huge team project with RoR and PostgreSQL.
But I can''t find anywhere on the internet to find a proper way to put
them together. I did find one but it is for iOS :-/
http://railscasts.com/episodes/342-migrating-to-postgresql?view=asciicast
I have them both installed and the gem package for postgres also. the
database.yml is already configured. I just
2007 Oct 17
2
Complex Forms (From Railscasts.com)
Hi,
I have been watching the last three episodes on railscasts.com in
which he goes through dealing with multiple models in one for using
fields_for, and virtual attributes. (http://railscasts.com/episodes/
73). Here is an example of the way they suggest to go about it:
# projects_controller.rb
def new
@project = Project.new
3.times { @project.tasks.build }
end
def create
@project =
2010 Nov 14
5
Authlogic and rails 3 : NameError in User sessionsController#new
Hi everybody,
I''ve installed Authlogic on Rails 3 following the Railscast (http://
railscasts.com/episodes/160-authlogic), and the resources I was able
to find on the web, but I''m facing a problem.
Once I''ve generated the user_sessions controller and mapped the login
and logout routes, I get an error if I try to load the login page :
uninitialized constant
2008 Nov 12
2
Using Active Resource in ROR Application
Hi all,
I want to use Active Resource to communicate with other application.
How can i use Active Resource in my ROR application.
anyone knows please help me out.
Thanks and regards,
Shripad
--~--~---------~--~----~------------~-------~--~----~
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
2012 Mar 27
0
Offline apps and Asset pipeline Problem in rails3.2
I have a question about using rack-offline with asset pipeline in
rails3.2.2. rack-offline creates application.manifest for local caching.
This gem watches file modification then re-generate hash-key in manifest.
I confuse offline apps with asset pipeline. asset pipeline provides
variable paths file to assets/foo.js (actually
app/assets/javascript/foo.js). I use `config.assets.debug = false`
2008 Sep 02
2
Needing a (better) Selenium Testing Tutorial
Hi everybody, it''s time to begin testing stage on the application we
are doing.
I''ve seen RailsCast episode about the subject (http://railscasts.com/
episodes/116) which is actually very instructive, but I want to know
if there are out there any compliment tutorial or doc to dig deeper.
A lot of peace and thanks for your assistance.
Paco
2012 Oct 19
1
Globalize3 gem, upload data from CSV
Rails 3.1.3
Globalize3 latest
I am not sure if I can ask this question here in general Rails forum.
But I''ll try.
Currently I am using a gem, Globalize3, which is useful for model I18n.
https://github.com/svenfuchs/globalize3
Say, I have a model City, having only one column, name.
City names appear differently depending on the language, so perhaps this
particular gem is useful.
2007 Jul 21
0
Mocha featured on Railscasts
Cool. Thanks for letting me know.
On 21 Jul 2007, at 09:20, Chris O''Sullivan wrote:
> Heya James,
>
> I thought you''d like to know that Mocha featured in the latest
> Railscasts.
>
> Check it out here: http://railscasts.com/episodes/60
>
> -Chris
>
2010 Mar 31
5
undefined method `each' for "":String
I implemented creating an object within another object according to
this Railscast:
http://railscasts.com/episodes/74-complex-forms-part-2
but I''m getting this error after I submit. Any ideas?
undefined method `each'' for "":String
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this
2010 Jul 18
0
password_confirmation
In Railscasts episode regarding "Authlogic"
http://railscasts.com/episodes/160-authlogic, at 5:39, it adds a
password confirmation field, and calls it :password_confirmation
Is :password_confirmation part of the Authlogic or can be used
originally with Rails?
Thanks.
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google
2010 Dec 25
1
Advanced search without database
Hello guys,
Im trying to make an advanced search form, actually i did like Ryan Bates
teaches in this railscast :
http://railscasts.com/episodes/111-advanced-search-form
But my problem is that i dont want to save the searches in my database and i
dont know how to do this...
In the railscast, there was a comment like this:
*14. Karl <http://www.vbsfinder.com/> May 26, 2008 at 23:01 *
2011 Aug 04
1
Creating form for associated has_many model
This example shows how to create a form for an associated model
''Comment'', where ''Comment'' belongs_to ''Post'' and ''Post has_many
''Comments''.
http://edgeguides.rubyonrails.org/getting_started.html#generating-a-controller
How might I modify that to display all the comments in the form, and
still have it call the
2008 Jan 23
2
integrate_views is not executing my views
I wanted to use "integrate_views" as Ryan explains in his RailsCast #71
(http://railscasts.com/episodes/71)
...but I can''t get it to work: the view code in not executed
I looked everywhere but I can''t understand what I am doing wrong.
Here is what I did:
I created a new application from scratch (Rails 2.0.2), added rspec and
rspec_on_rails plugins, and run
2011 Dec 20
4
Custom Devise Controller
Hi Guys,
I was wondering if sb could help me.
I have the following problem:
-I want to create a complex form using railscast tutorial (
http://railscasts.com/episodes/73-complex-forms-part-1). Well, to perform
this I need to update my controller(in this case the controller responsible
to manipulate user).
But I''m using Devise gem and I don''t know how I could manipulate the
2008 Apr 03
0
Importing (bootstrapping) the initial data from fixtures(.yml) with foreign keys in Rails 2.0
Hi,
I''m trying to import data from YAML files in Rails 2.0.2. I learned
that new features came out for fixtures at RailsCasts
http://railscasts.com/episodes/81 .
And, in Rails 1.2.6 and before, I used a "rake" task I found online.
Looks like there are many variations for this "bootstrap" file.
Do you know if there''s a file available that does something
2009 May 08
1
filter_parameter_logging for multi model forms
Hi all,
I have a multi model form setup in the classic Ryan Bates Complex
forms style (railscasts.com/episodes/73) for my signup page.
The two models in this are the Account model and the User model and
this structure cannot be changed right now. The User model has
password and password_conf attributes which are, unfortunately, taken
alongwith the rest of the User''s attributes into an
2008 May 02
1
names of select elements inside a fields_for block not generated as expected
Hey All,
I''m trying to play along w/the ''complex forms 1'' railscast
(http://railscasts.com/episodes/73) and having trouble. The view is
projects/new. I''m trying to add some project_people to the form w/code
like so:
<% form_for(@project) do |f| %>
[project stuff here]
<% for pp in @project.project_person %>
<% fields_for
2009 Oct 06
0
Named routes and a Railscast
I''m looking at railscast#102 ( http://railscasts.com/episodes/102-auto-complete-association
) and when I implement it, a certain named
( "formatted_channelnotes_path(:js)" ) route is used in:
<%= text_field_with_auto_complete :channel, :channelnote_name, { :size
=> 15 }, { :url => formatted_channelnotes_path(:js), :method
=> :get, :param_name =>
2011 Nov 12
3
complex form with dynamic fields.
I''ve seen http://railscasts.com/episodes/73-complex-forms-part-1,
part2 and part3.
It seems to be my case.
I have:
Company
has_many :documents
has_many :tenders, :through..........
and
Document
belongs_to :company
Tender
has_many :companies, :through..........
I want to insert documents and tenerds on company creation.
If documents are more than one the user can click "add
2008 Sep 17
2
Layouts and content_for
when i studied the tutorial about layouts & content_for from railscast.I
need a clarification as per their tutorial.
url:http://railscasts.com/episodes/8-layouts-and-content-for
<!- projects/index.rhtml ->
<% content_for :head do %> <= stylesheet_link_tag ‘projects’ %>
< end %>
<!- layouts/application.rhtml ->
<head> <title>Todo List</title>