[Rails] New open source marketplace built with Ruby on Rails

2016-01-16 Thread Ed Miick
Hi All, I'd like to introduce you guys to a free open source marketplace called Sharetribe. It's built with Ruby on Rails and is free. Their is a forum which can be found here http://sharetribe.freeforums.net I hope this will be of interest to some people here, Thanks -- Posted via http://www

[Rails] Re: Rails 4.1 secrets

2014-05-29 Thread Ed Halferty
A lot of really helpful people on these forums. I'll bet this person went ahead and did this: production: secret_key_base: 12345 Someone probably could have mentioned that <%= ENV["SECRET_KEY_BASE"] %> loads the config from something called an "environment variable", in this case SECRET_KEY_

[Rails] Re: Rails unicorn start on boot error

2014-05-20 Thread Ed Ed
> Thanks, I undestood. And what should I do? I can't run script as other > user when boot? I've already solve my problem. I wrote 'su -l user -c command' in my local.start file, and everything is ok. -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subsc

[Rails] Re: Rails unicorn start on boot error

2014-05-20 Thread Ed Ed
> Environment 1: running a script as user 'root' at boot time > Environment 2: running a script as you in a login shell > > One of these things is not like the other :-) > Thanks, I undestood. And what should I do? I can't run script as other user when boot? -- Posted via http://www.ruby-forum

[Rails] Rails unicorn start on boot error

2014-05-19 Thread Ed Ed
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/set

[Rails] Re: Re: Re: Re: Re: Re: Re: Re: Ruby on Rails Kgio segmentation fault

2014-05-08 Thread Ed Ed
> What change did you make following the link I posted? Add path in shell script. Is it necessary to start unicorn from init.d directory? Or it doesn't matter? -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rail

[Rails] Re: Re: Re: Re: Re: Re: Re: Ruby on Rails Kgio segmentation fault

2014-05-08 Thread Ed Ed
> The error you posted says it is 1.8.7 I understand that and can't find the solution. -- 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 f

[Rails] Re: Re: Re: Re: Re: Re: Ruby on Rails Kgio segmentation fault

2014-05-07 Thread Ed Ed
> So it is still running the wrong ruby? It says that ruby is 2.1.0, but is still gives the error. -- 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 receiv

[Rails] Re: Re: Re: Re: Re: Ruby on Rails Kgio segmentation fault

2014-05-06 Thread Ed Ed
> Googling for > kgio segmentation fault > found this as the first hit, is it helpful? > https://www.digitalocean.com/community/questions/unicorn-not-starting Yes, I have already viewed that.It didn't help me. -- Posted via http://www.ruby-forum.com/. -- You received this message because you a

[Rails] Re: Re: Re: Re: Re: Ruby on Rails Kgio segmentation fault

2014-05-06 Thread Ed Ed
> What does the error say now? Copy/paste here to avoid typos. The error is written in my question. -- 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 rece

[Rails] Re: Re: Re: Re: Ruby on Rails Kgio segmentation fault

2014-05-06 Thread Ed Ed
Ok, I have done that from script and it shows that ruby is 2.1.0, but the error with kgio gem still exists. -- 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 st

[Rails] Re: Re: Re: Ruby on Rails Kgio segmentation fault

2014-05-06 Thread Ed Ed
> Two things: > 1. Add an echo to output the version of ruby used > 2. Let the first/initialization command be to use the right version of > ruby, say something like `rvm use ruby-2.x.x` rvm current and default is set to ruby-2.1.0 -- Posted via http://www.ruby-forum.com/. -- You received this

[Rails] Re: Re: Re: Ruby on Rails Kgio segmentation fault

2014-05-06 Thread Ed Ed
> What is the default PATH of the user that runs startup scripts? when I call echo $PATH there exist path to my ruby 2.1.0 bin -- 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 fro

[Rails] Re: Re: Ruby on Rails Kgio segmentation fault

2014-05-05 Thread Ed Ed
> Really? So the actual error message isn't relevant to your problem? > ruby -v gives me 2.1.0, but I can't understand why it try ruby 1.8.7 -- 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 u

[Rails] Re: Ruby on Rails Kgio segmentation fault

2014-05-05 Thread Ed Ed
> WAG: figure out why your unicorn is apparently being started in the > context of the very old system ruby :-) > I think that it isn't the main problem :) Ok, I attach unicorn.sh file in my reply. Attachments: http://www.ruby-forum.com/attachment/9608/unicorn.sh -- Posted via http://www.ruby-

[Rails] Ruby on Rails Kgio segmentation fault

2014-05-05 Thread Ed Ed
When I try to start unicorn I get this error: /home/.rvm/gems/ruby-2.1.0/gems/kgio-2.8.1/lib/kgio_ext.so: [BUG] Segmentation fault ruby 1.8.7 (2011-06-30 patchlevel 352) [x86_64-linux] How can I fix this problem? -- Posted via http://www.ruby-forum.com/. -- You received this message because y

[Rails] [x] new Tweets bar in Twitter

2014-02-23 Thread Ed Baxter
Slightly off topic but as Twitter is Ruby I couldn't think of a better forum. Can someone tell me how the new Tweets bar in Twitter works? Does Twitter just leave an open Connection to your IP address and do it using Push? Thanks in advance. -- Posted via http://www.ruby-forum.com/. -- You r

[Rails] Looking for ruby on rails mentors

2014-02-17 Thread Ed Roman
I'm looking for expert developers who would like to earn some money and spend a few hours working from home mentoring other developers in Rails. It would be paid work, for fun on the side. This is done via a website I'm launching where developers can mentor other developers in Ruby on Rails via a

[Rails] Re: What Gives? If Rails is so good why is it so hard to install it?

2013-12-28 Thread Ed Drain
On Wednesday, December 25, 2013 5:43:20 PM UTC-5, Dan Boyle wrote: > > I have spent hours trying to get some version of Rails installed and all > to no avail. It seems there are many people who get the same errors but > nobody seems to have any answers. > > I am new to both Rails and Ubuntu.

[Rails] Re: Where to find groups to discuss rails source code?

2013-06-18 Thread Ed Drain
I would just ask the question here. If there is some dedicated group, they will probably answer here and then maybe invite you to join their specialized group. Or you could always start your own. On Monday, June 17, 2013 6:26:09 AM UTC-4, Steven Yang wrote: > > Hi, >Recently, I begin to

[Rails] mysql installation in Windows 7

2013-01-28 Thread Ed Ziba
I have Windows 7. I am trying to get the gem installed for MySQL Server 5.5 So, I get the zip file for gem from Brian Mario’s repository on github mysql2, extract it in the new mysql2-0.3.12b5 folder and start the procedure as follows. As seen below, I get the error “file 'lib' not found” at the

[Rails] regarding routes

2012-10-15 Thread nike ed
I have a controller with only one action "res" . I need to redirect to this controller file for decrypting the code ,so can the url to this be 1) "http://..:3000/user_controller.rb?DR={DR}"; (OR) 2) "http://..:3000/user/res?DR={DR}"; is their any possibili

[Rails] Re: How to edit each line of a file in ruby, without using a temp file

2012-10-07 Thread ni ed
Thank you very much for the help. -- 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 email to rubyonrails-talk@googlegroups.com. To unsubscribe from this group, send ema

[Rails] Pop quiz: Where do you watch for job postings?

2012-08-09 Thread Ed W
arrow down scope since it might affect the advice, apologies in advance, trying to NOT make this an advert in itself: - We are based in London - Looking to hire local, permanent staff - Small company looking for self reliant people who can work independently Thanks for some thoughts Ed W -

[Rails] Re: mysql server has gone away?

2011-05-20 Thread Ed Murray
"The child process can exit using Kernel.exit! to avoid running any at_exit functions." This seems to have fixed the issue for me. I have no at_exit functions I need executed. -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Gro

[Rails] Fusemail, Rails 3, ActionMailer

2011-02-23 Thread Ed A.
Anybody know how to hook Fusemail to ActionMailer? I'm moving from GoDaddy where I had mailer set up just fine to Fusemail. After googling around, it appears the impasse is that Fusemail's TLS is an older TLS on connect... -- Posted via http://www.ruby-forum.com/. -- You received this message

[Rails] Re: ROR Developer

2011-02-03 Thread Ed cs
looking for someone to develop an RoR application to integrate tightly with Facebook and Twitter - We will require an open API - We are exploring the possibility of having a facebook app linked to this Please get in touch if you are interested. Ed -- You received this message because you are

[Rails] ROR Developer

2011-02-03 Thread Ed cs
to integrate tightly with Facebook and Twitter - We will require an open API - We are exploring the possibility of having a facebook app linked to this Please get in touch if you are interested. Ed -- You received this message because you are subscribed to the Google Groups "Ruby on Rails:

[Rails] XML object output

2010-12-31 Thread Ed
What is the easiest way to dump a selection of data for someone else to import? If XML, what is the cleanest way to accomplish this? As a hobby, I wrote a workout logging program that now has about 2000 users. From time to time, someone asks me to export their workout records to another applicat

[Rails] Re: Can't install plugins on rails 3.0

2010-12-19 Thread Ed
I eventually gave up on Windows and dual booted Ubuntu, then installed the rails development environment from scratch. Wow, what a difference. I was never a Linux guy before but I am now, at least for Rails development. On Nov 2, 3:41 pm, Marnen Laibow-Koser wrote: > Ariel S. wrote in post #95

[Rails] Can't install plugins on rails 3.0

2010-09-11 Thread Ed
Just upgraded one of my apps to Rails 3.0 and I cannot install plugins. I either get "Plugin not found", or an empty folder. When I run rails plugin --verbose install http://github.com/jslag/us-state-select-plugin.git I get this response: Plugins will be installed using http git init git pull

[Rails] Re: nested routes question

2010-09-06 Thread Ed
bump ... no answers? On Sep 5, 9:35 pm, Ed wrote: > So what is the best way to structure scores/index to deliver the > appropriate list? > -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this g

[Rails] Re: Rails 3, help controlling access to a record based on the user id

2010-09-05 Thread Ed
On Sep 5, 10:53 pm, nobosh wrote: > Ed thanks for the reply. I'd love to hear more... I tried your > suggestion but it error'd: > > "undefined method `Notes' for nil:NilClass" > Two possible issues: 1. Do you have the relationship declared i

[Rails] Re: Rails 3, help controlling access to a record based on the user id

2010-09-05 Thread Ed
The cleanest method is to scope your notes by user instead of searching the whole class: @note = @user.notes.find(params[:id]) On Sep 5, 7:25 pm, nobosh wrote: > This hack ends up working. Is there a cleaner, ruby trick to getting > this to work? > >                         @note = Note.find(pa

[Rails] Re: Pass a value from controller to model

2010-09-05 Thread Ed
On Sep 5, 10:29 am, Pål Bergström wrote: > Pål Bergström wrote: > > It works. But how do I deal with a list as this? How do I set the > variable? > > @tests = Test.find(:all) > -- brute force: @tests.each {|test| test.key = cookies[:my_key]} Might be a more clever way to do it. -- You rece

[Rails] nested routes question

2010-09-05 Thread Ed
Trying to convert my app (and brain) to RESTful routes from the old style. What is the accepted approach to nesting a resource within 2 other resources? Example: Models Person has_many :scores Contest has_many :scores Score belongs_to :person, :contest Routes resources :people do

Re: [Rails] Re: Re: Ruby on Rails IDE

2010-08-28 Thread Ed Howland
. It occurs to me that the IDE (or editor) should be based on a DSL for flexibility and extensibility. Shoes 3 recently dropped and I think it fits the bill. Despite the disappearance of _why_, it seems to be actively being maintained. I think I'll kick its tires some. Cheers, Ed Ed Howland http://

Re: [Rails] Re: Re: Ruby on Rails IDE

2010-08-27 Thread Ed Howland
On Fri, Aug 27, 2010 at 12:20 PM, Iain Davis > It does, but it doesn't appeal to the audience that Ed may be thinking > of. That audience is going to be drawn in much more quickly if they > can download a single package that a) includes both ruby and an IDE (a > low-footprint on

Re: [Rails] Re: Ruby on Rails IDE

2010-08-27 Thread Ed Howland
? Also, is it possible to just eval Tk directly as a string? Then additonal widgets could be added at runtime. [1] http://github.com/martindemello/guirb.git Cheers, Ed Ed Howland http://greenprogrammer.wordpress.com http://twitter.com/ed_howland On Fri, Aug 27, 2010 at 4:49 AM, Peter De

Re: [Rails] Re: Ruby on Rails IDE

2010-08-26 Thread Ed Howland
On Thu, Aug 26, 2010 at 4:58 PM, Greg Donald wrote: > On Thu, Aug 26, 2010 at 3:56 PM, Ed Howland wrote: >> [1] Got the mac only to use textmate with RoR work. > > So you got yourself a $3500 text editor?  Congrats. > > > -- > Greg Donald > destiney.com | gregdonald

Re: [Rails] Re: Ruby on Rails IDE

2010-08-26 Thread Ed Howland
. (I don't like tips or hints - hated BBedit for that reason). *extensible with snippets/bundles. Cheers, Ed Ed Howland http://greenprogrammer.wordpress.com http://twitter.com/ed_howland -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk

Re: [Rails] Re: Ruby on Rails IDE

2010-08-26 Thread Ed Howland
er Ubuntu. You can pimp it out to be like TM by following these instructions: http://grigio.org/pimp_my_gedit_was_textmate_linux Cheers, Ed [1] Got the mac only to use textmate with RoR work. Ed Howland http://greenprogrammer.wordpress.com http://twitter.com/ed_howland -- You received t

[Rails] Rack(Warden) woes

2010-02-28 Thread Ed Howland
Hi, I'm trying to use the Warden gem via RailsWarden. It is not working, but I guess I don't understand a few things. How do you access a Rack thing from a method in your controller? env[:warden] fails with a method not found error for env. I want only certain actions to check to see if the use

[Rails] Re: Integration with LinkedIn.

2009-03-17 Thread M. Edward (Ed) Borasky
y demonstrate a value add to LinkedIn before putting any effort into this. LinkedIn *isn't* Twitter, and "any old hacker who can code to an API" isn't going to get on their approved list. For that matter, I suspect it's only a matter of time before Twitter adopts a s

[Rails] Re: knowing when to go to multiple mongrel instances or dedicated server

2009-03-11 Thread Ed
? On Mar 10, 8:42 pm, Tom Z Meinlschmidt wrote: > Ed wrote: > > I have a rails app with a growing user base.  Right now it is on a > > single mongrel instance on a shared server.  Is there a quantifiable > > method I can use to measure when I need to add mongrel instances,

[Rails] Re: knowing when to go to multiple mongrel instances or dedicated server

2009-03-10 Thread Ed
Thanks, good info. That is more for a dedicated server, though. If I'm on a shared server, how can I measure/compare to determine whether I need the expense of a dedicated server? On Mar 10, 3:20 pm, Philip Hallstrom wrote: > > I have a rails app with a growing user base.  Right now it is on a

[Rails] knowing when to go to multiple mongrel instances or dedicated server

2009-03-10 Thread Ed
I have a rails app with a growing user base. Right now it is on a single mongrel instance on a shared server. Is there a quantifiable method I can use to measure when I need to add mongrel instances, or move to a dedicated server? Are there rules of thumb for how many users or page hits an inst

[Rails] Regexp route broken in Rails 2.2.2?

2009-02-04 Thread Ed W
g the regexp parsing. Curiously though the regexp *does* work for link generation, it's only route recognition which breaks Can anyone give me a quick workaround for this, quite a lot or routes to alter otherwise... Thanks Ed W --~--~-~--~~~---~--~

[Rails] Why isn't there a :dependent => false option?

2008-12-16 Thread Ed Lebert
I have an "audit" table that records when changes are made to another table. If a record is destroyed, I don't want all the change audits for that record destroyed or nullified along with it. --~--~-~--~~~---~--~~ You received this message because you are subscri

[Rails] boolean button helper

2008-12-07 Thread Ed
I don't have a blog, but wanted to share this little bit of code with other semi-beginners like myself who are still learning to take advantage of rails features. Selecting an attribute with a boolean switch is a common pattern in forms. You can do it with a check box, but radio buttons are more

[Rails] Re: How to describe self join in a model

2008-12-07 Thread Ed
:acts_as_tree: http://wiki.rubyonrails.org/rails/pages/ActsAsTree On Dec 7, 5:06 am, Ali <[EMAIL PROTECTED]> wrote: > Hi , >      I am new to rails, and i need to know one thing, i have a table > called Categories and i want to self join it in such a way , that one > category could be a parent

[Rails] Re: rails 2.1.2 to rails 2.2.2 now I get mysql issues

2008-12-05 Thread Ed
Funny, I had same problem but neede the opposite solution: I copied libmysql.dll from msyql/bin to ruby/bin. Either way, that's a bit less drastic than nuking and reinstalling mysql and ruby, so worth trying first. On Dec 5, 7:19 pm, jasoo24 <[EMAIL PROTECTED]> wrote: > I noticed that you've al

[Rails] Re: How to sort results of group_by

2008-12-05 Thread Ed
The ordered hash is already sorted by responsibility, so you would sort each area something like this: (tags removed) @areas.group_by(&:responsibility).each do |responsibility, areas| responsibility.name areas.sort_by{|area| area.name}.each do |area| ... A style suggestion: make yourself

[Rails] Re: Problems installing mysql gem in Windows Vista

2008-12-05 Thread Ed
ffect the environment. On Dec 5, 6:43 pm, Ed <[EMAIL PROTECTED]> wrote: > I just started struggling with the same problem as described in this > thread, starting when I updated rails from 2.1.2 to 2.2.2.  My apps > work fine in rails 2.1.2.  When I change environment.rb to 2.2.2,

[Rails] Re: Problems installing mysql gem in Windows Vista

2008-12-05 Thread Ed
I just started struggling with the same problem as described in this thread, starting when I updated rails from 2.1.2 to 2.2.2. My apps work fine in rails 2.1.2. When I change environment.rb to 2.2.2, boom they blow up. Error message says: "The bundled mysql.rb driver has been removed from rai

[Rails] Re: named_scope lambda syntax

2008-11-21 Thread Ed
never mind, I sorted it out. Solution: named_scope :no_score, lambda { |compare| { :conditions => "#{compare} IS NULL" }} On Nov 21, 10:12 pm, Ed <[EMAIL PROTECTED]> wrote: > How would I pass an attribute name into a named_scope lambda? > > I want to be able to s

[Rails] named_scope lambda syntax

2008-11-21 Thread Ed
How would I pass an attribute name into a named_scope lambda? I want to be able to search an active record class for nil values in a particular attribute. Would like to use a named_scope instead of find () because I want to tack other methods on the end of the result. Syntax I've tried: # worko

[Rails] how to override enumerable compare for attributes?

2008-11-20 Thread Ed
How would I override <=> for certain attributes of a class? Say I have the following: class Workout < ActiveRecord::Base # columns in db: time, weight, reps, distance end I want to be able to sort by results, to list workouts by best time, weight, etc. But the ordering is different, because a

[Rails] Scoping option_groups_from_collection_for_select

2008-11-18 Thread Ed
How can I scope the options returned by option_groups_from_collection_for_select? Method calls look like this: option_groups_from_collection_for_select (collection, group_method, group_label_method, option_key_method, option_value_method, selected_key = nil) But say I want to limit the results

[Rails] Re: has_many :through a belongs_to association

2008-11-11 Thread ed
an't quite figure it out. Anyone else get it? I'm not seeing any forks on Github dealing with the error. Ed On Oct 28, 2:11 am, edvin <[EMAIL PROTECTED]> wrote: > Martin, > > Your fix seems to address some of the issues, but calling the the > polymorphic associatio

[Rails] Re: functional testing with filters

2008-11-05 Thread Ed
But of course. Thanks! On Nov 5, 2:43 pm, Frederick Cheung <[EMAIL PROTECTED]> wrote: > On Nov 5, 7:04 pm, Ed <[EMAIL PROTECTED]> wrote: > > > How do I do functional tests on controller methods protected by before > > filters, without using the soon-to-

[Rails] functional testing with filters

2008-11-05 Thread Ed
How do I do functional tests on controller methods protected by before filters, without using the soon-to-be-deprecated "follow_redirect"? Say I have a method called index, filtered by check_login. If the user is not logged in, they get redirected to the login method, which logs them in and dire

[Rails] problems running an older (1.1.6) rails app under 2.0.2

2008-10-03 Thread Kyle Ed
I've been trying to get my old rails app (environment.rb tells me it was 1.1.6) working under 2.0.2 and I've been having a hell of a time. Trying to start up webrick nets me this: [EMAIL PROTECTED]:~/code/Ruby/midnet$ rails script/server create File exists - /home/kyle/code/Ruby/midnet/scri