similar to: Finding a record which I had created

Displaying 20 results from an estimated 9000 matches similar to: "Finding a record which I had created"

2014 Jun 04
0
Design question: Redirection to a "create" action.
My application should behave like this: - My application manages (among others) a resource called "Dicts", i.e. there is a dicts_controller, and my routes.rb contains a "resources :dicts". - I have a home page (starting page), which will eventually contain some user authentification (not implemente yet), and then allow the user to manage the Dicts objects. I have a
2014 Apr 19
0
Setting up rails, created a directory, wondering where to install rails
Hello, its my first time using ruby or the terminal, I am on Mac OS X Mavericks. I am trying to set up ruby on rails, I have got the rvm installed, I have also created a "mkdir rails_projects" and I have "cd rails_projects" However, I haven't yet install rails, I did it on purpose because I heard that its better to install it in each project separately instead of globally.
2014 May 16
0
(Beginner) ActionController::UrlGenerationError - No route matches
(Using Rails 4.1.1 with Ruby 2.1.1 on Mac OSX 10.6 Snow Leopard) I'm doing a Rails tutorial (in case you are interested in: It's http://guides.rubyonrails.org/getting_started.html), and I'm stuck on the following: I create in some erb file a link using <%= link_to 'Add new weird stuff', controller: new_article_path %> and this raises the exception
2014 Apr 09
0
How can I convert an ImageMagick shell script for use in my RoR project?
I'm creating a project that lets users upload images onto products and then buy the products. I'm using Carrierwave and Minimagick. I found this cylnderize script on fmwconcepts. It's a shell script. It is literally perfect for what I need as a lot of the products are mugs. Does anyone know how I might be able to convert the script into minimagick code I can use in my controller? --
2014 May 28
0
Andreas Schwarz (known kike) owned by IRC.GANGNET.RU #TCLMAFIA
TCL IS BETTER THAN RUBY. THIS MESSAGE WAS BROUGHT TO YOU BY IRC.GANGNET.RU #TCLMAFIA SHOUTZ TO RYAN ETERNAL PRESIDENT OF GNAA, MALCOM, FLUNITRAZEPAM, DUTCHMINATI, CRACK, SNITCH -- 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 unsubscribe from this group and stop receiving emails from
2014 May 19
0
Installing rvm on SLES 11 sp3(SUSE Linux Enterprise Server 11)
Hello everyone. Does anyone had experience of installing rvm for this linux server? During rvm installation an error pops up that says i dont have the following libs: sqlite-devel gdbm-devel zlib-devel openssl-devel ncurses-devel readline-devel. Sudo zypper update says that its already up to date. When i try to install all of these libs it can't find any of them. Do i need some specific
2014 May 02
0
What does assign method do in testing ?
*assigns* - _Any objects that are stored as instance variables in actions for use in views._ (http://guides.rubyonrails.org/testing.html#the-four-hashes-of-the-apocalypse) I have a code :- test "should update line_item" do patch :update, id:@line_item, line_item: { cart_id:@line_item.cart_id, product_id:@line_item.product_id} assert_redirected_to
2014 May 19
0
Rails unicorn start on boot error
Hello,guys. I have a problem with unicorn start on boot (OS is gentoo). I write in /etc/local.d/local.start file: #!bin/sh /etc/init.d/unicorn start and when I reboot computer it can't start my rails application and in unicorn.stderr.log writes 'require cannot load such file -- bundler/setup (LoadError)'. But when I write in shell "/etc/init.d/unicorn start"
2014 Jun 09
0
How can I test my controller via rspec for something other than response.should be_success?
1) Right now this is just testing a successful response. However, since I've gone and created a Post via FactoryGirl... how can I test the @post.id equals one of the id's being returned by the get: index json? describe Api::V1::PostsController do context 'Post' do before(:each) do @post = FactoryGirl.create(:post) end context '#index' do
2014 Apr 14
0
Pairing Data 2-D array
I have class A. I have a class B with attributes c and d. A has many Bs. I get an instance of A using a = find_by.... I can get a listing (enumeration) of values for attribute b using map function. a.b.map{ |x| x.c} c1 c2 c3 However, I want c and d returned and paired together in an array like a 2-d array. c1 d1 c2 d2 c3 c3 What's the best way to do this? Map won't work,
2014 Apr 21
0
Unpermitted Parameters - Rails 4
Hi, I'm using Devise (3.2.4), Rails 4 and I'm trying to signup. I have a Registration Controller where i do have: " def sign_up_params params.require(:user).permit(:email,:first_name, :last_name,:mobile, :birthday, :current_password, :password,:password_confirmation) end " and everytime i try to sign up I get the following message: Processing by
2014 Jun 04
0
Lead Developer for a Groundbrekaing Crypto crowdfunding startup
Hello, We're a VC backed early stage startup that is doing some groundbreaking and intellectually fascinating.. We issue cryptocoins to raise fund from crowd for app and game developers, literally creating mini economy system around each app. Looking a Lead Engineer (Ruby on Rails), preferably full-stack, and with passion in crowdfunding or cryptocurrency. This is a long-term FT opportunity
2014 May 28
0
ruined by the #TCLMAFIA
TCL IS BETTER THAN RUBY. THIS MESSAGE WAS BROUGHT TO YOU BY IRC.GANGNET.RU #TCLMAFIA SHOUTZ TO RYAN ETERNAL PRESIDENT OF GNAA, MALCOM, FLUNITRAZEPAM, DUTCHMINATI, CRACK, SNITCH -- 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 unsubscribe from this group and stop receiving emails from
2014 May 28
0
JEWS DID 9/11 READ MORE AT IRC.GANGNET.RU #TCLMAFIA
TCL IS BETTER THAN RUBY. THIS MESSAGE WAS BROUGHT TO YOU BY IRC.GANGNET.RU #TCLMAFIA SHOUTZ TO RYAN ETERNAL PRESIDENT OF GNAA, MALCOM, FLUNITRAZEPAM, DUTCHMINATI, CRACK, SNITCH -- 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 unsubscribe from this group and stop receiving emails from
2014 May 26
0
Class Variables - Static.
Hello, When setting the class static variables, These are shared across all the instances created. Class A @@bool_var = true def get_bool_var @@bool_var end end All the instances will have this static variable, When through a controller, a user requests, Based on some logic, I set the value to false. Is this class static variable be set to false in all the other requests from other
2014 Apr 08
0
alternative for Amazon SQS for ruby
I need to use ElasticMQ in my rails project. But I dont see any references which have used elasticmq with rails projects. I know that Amazon SQS queuing system can be implemented with the help of right_aws gem(an adapter which is used to connect to Amazon SQS). So I am searching for a similar kind of gem/adapter which will support for both ElasticMQ as well as AmazonSQS. I tried ElasticMQ with
2014 May 28
0
RAILS IS FOR FAGGOTS WHO CANNOT USE TCL AND SHOULD QUIT LIFE FAGGOTS ANAL COCKSUCKING
TCL IS BETTER THAN RUBY. THIS MESSAGE WAS BROUGHT TO YOU BY IRC.GANGNET.RU #TCLMAFIA SHOUTZ TO RYAN ETERNAL PRESIDENT OF GNAA, MALCOM, FLUNITRAZEPAM, DUTCHMINATI, CRACK, SNITCH -- 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 unsubscribe from this group and stop receiving emails from
2014 May 28
0
I am stopping the script because I am sleepy. irc.gangnet.ru #tclmafia RAILS SUCKS FAGGOTS ARE GROSS
TCL IS BETTER THAN RUBY. THIS MESSAGE WAS BROUGHT TO YOU BY IRC.GANGNET.RU #TCLMAFIA SHOUTZ TO RYAN ETERNAL PRESIDENT OF GNAA, MALCOM, FLUNITRAZEPAM, DUTCHMINATI, CRACK, SNITCH -- 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 unsubscribe from this group and stop receiving emails from
2014 Mar 25
0
Wickes Kitchens
Wickes Kitchens , Go to www[.]wickeskitchensreviews[.]co[.]uk Wickes Kitchens ________________________ www[.]wickeskitchensreviews[.]co[.]uk -- 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 unsubscribe from this group and stop receiving emails from it, send an email to
2014 Apr 11
0
Rails 4.1 activerecord_relation conversion to array problem
After I upgraded from rails 3.2 to 4.1 I am getting this error below. I researched that Rails 4.1 requires a conversion of an activerecord_relation to an array using to_a. I did use to_a but looks like rails is doing a select count behind the scenes. Do you know how to fix this? def index order_type = params[:order_type] @oh = OrderHeader.select("orders_header.*, users.username,