Displaying 20 results from an estimated 50000 matches similar to: "headless application"
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 Mar 31
0
Unable to delete post in sample blog application
Hi All,
I am new to RoR and I am writing a small blog application. I have added a
Destroy / Delete link to the post index, but when I click this delete link
the show action is fired. The log seems to confirm this:
Started GET "/posts/2" for xxx.xxx.xxx.xxx at 2014-03-31 15:51:03 +0000
Processing by PostsController#show as HTML
Parameters: {"id"=>"2"}
Post
2014 Jun 04
0
Getting random threading errors in jruby (1.7.3) & rails 2.3.17 application
I am running jruby (1.7.3) & rails 2.3.17 application whose apis are
exposed to outside app. When I add "config.threadsafe!" in my
development.rb/production.rb & hit lot many api requests in a second then I
am getting following errors randomly for some of the api requests:
1. TypeError (NilClass can't be coerced into Float)
2. RuntimeError (can't add a new key
2014 Mar 12
0
[JOB] Robust RoR Web Application in NYC
Hello All,
I know that a local position is not optimal, but I'm working for a funding
company that is overhauling their existing RoR platform and is looking to
bring on another full time Ruby developer. The team is 10 strong right now,
each having strong programming fundamentals and they are not having any
problem retaining them. The team is a group of like minded individuals and
the
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 May 26
0
Finding a record which I had created
I thought this is an easy one, but: I have created a record, and later
would like to retrieve it again.
Here is an excerpt of my schema:
create_table "dicts", force: true do |t|
t.string "dictname"
...
end
My model ensures that dictname is unique:
validates :dictname,
presence: true,
length: { minimum: 3 },
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