Re: [Rails] Action mailer receive email

2017-09-28 Thread Norbert Melzer
totally depends on which MTA/MUA you are using, you need to configure it in the MTA/MUA you are using and how you do it totally depends on the software uised. Perhaps someone else is able to help you after you have provided necessary information. > On Thu, Sep 28, 2017 at 12:52 PM, Norbert

Re: [Rails] problem starting unicorn, says unicorn not installed but it is

2017-09-13 Thread Norbert Melzer
> and it finds/runs it. Ime using rbenv. I did have this working and > reinstlled rbenv localy in the user. sould of mentioned ths buy it was a > 2PAM post just before I caled it a day. Will post config files later when > I get home. > > > On Wednesday, September 13, 2017

Re: [Rails] problem starting unicorn, says unicorn not installed but it is

2017-09-13 Thread Norbert Melzer
Have you installed it for the correct user? Or locally to your current? On Mi., 13. Sep. 2017, 03:12 Ben Edwards wrote: > Logfile is: > > ben@whatnow:~/eventpuddle/eventpuddle/rails/eventpuddle$ systemctl status > unicorn_eventpuddle.service > ● unicorn_eventpuddle.service - LSB: starts the unic

Re: [Rails] Re: routes

2017-09-12 Thread Norbert Melzer
On 09/12/2017 11:02 PM, Colin Law wrote: > On 12 September 2017 at 02:15, Joe Guerra wrote: >> ... >> I'm using... in my routes file. >> >> get resources :gallery > Why is the 'get' there? I asked before, but that wasn't heard, perhaps increasing the noise might help? -- You received this mes

Re: [Rails] Re: routes

2017-09-12 Thread Norbert Melzer
On 09/12/2017 05:22 PM, Joe Guerra wrote: > On Tue, Sep 12, 2017 at 10:21 AM, Colin Law > wrote: > > rails routes > will show you all configured routes, which may help > > yes, I know that.   :) But you did not understand… If you had shown the output, it might b

Re: [Rails] Re: routes

2017-09-12 Thread Norbert Melzer
Am 12.09.2017 um 03:15 schrieb Joe Guerra: > get resources :gallery You do have this in your routesfile literally? Seems invalid for me. Also As far as I can remember the convention, `resources` needs the plural name, not the singular name. But I haven't used rails since about 3.x-ish. -- You re

Re: [Rails] routes

2017-09-11 Thread Norbert Melzer
Routes do not belong to a model, they map request pathes to actions in controllers, so can you please go into a little bit more detail? On Mo., 11. Sep. 2017, 19:05 Joe Guerra wrote: > I believe I messed up the routes in one of my models. > > Should I delete the model and try again? > > > Thanks

Re: [Rails] Taking project from deveopment through test to production (worflow)

2017-09-10 Thread Norbert Melzer
On 09/10/2017 08:33 PM, Ben Edwards wrote: > Sorry 'git checkout test'.  I have develop, test and master branches.  > When I am ready to test for a release I merge develop into test.  Cant > see how I don’t want to be in test branch for testing or am I doing > this all wrong. This sounds like a con

Re: [Rails] Migrations

2017-09-05 Thread Norbert Melzer
On 09/05/2017 05:51 PM, Joe Guerra wrote: > the database isn't in production, it has a bunch of faker data in it. I do not care… You are taking huge risks by changing old migrations and re-running from scratch. This way you might have deleted to much and therefore your model might get out of sync

Re: [Rails] Migrations

2017-09-05 Thread Norbert Melzer
On 09/05/2017 05:16 PM, Joe Guerra wrote: > Well, I wasn't going to touch the schema file directly. I thought > about merging some migrations and deleting some that aren't being used. > > If I deleted the database and re-ran the migrations wouldn't it update > the schema? Yes, but it would bri

Re: [Rails] Migrations

2017-09-05 Thread Norbert Melzer
On 09/05/2017 03:31 PM, Joe Guerra wrote: > Thanks, I do have some junk in my schema that I should clean up by > removing some older migrations that I'm not using in my current web app. No, you should clean that unneeded stuff in your current schema by *creating* migrations which remove the super

Re: [Rails] using rb files for locales

2017-08-25 Thread Norbert Melzer
lso state that yaml is preferred but has downsides... On Fr., 25. Aug. 2017, 13:26 Norbert Melzer wrote: > So not the answer has been a bad one but your question was. > > I've never used I18N and L21N in rails. So I can't help you with that. > > On Fr., 25. Aug.

Re: [Rails] using rb files for locales

2017-08-25 Thread Norbert Melzer
So not the answer has been a bad one but your question was. I've never used I18N and L21N in rails. So I can't help you with that. On Fr., 25. Aug. 2017, 12:13 fugee ohu wrote: > > > On Friday, August 25, 2017 at 3:30:10 AM UTC-4, Norbert Melzer wrote: >> >> fug

Re: [Rails] using rb files for locales

2017-08-25 Thread Norbert Melzer
fugee ohu schrieb am Fr., 25. Aug. 2017 um 09:12 Uhr: > > That's not a valid answer Moderator please remove his answer > > The answer that was given to you was more than valid, but you weren't able to read it correctly. The code you showed us was obviously YAML, therefore the file ending should h

Re: [Rails] How are XHR requests made when also a post?

2017-08-16 Thread Norbert Melzer
(new XMLHttpRequest).open('POST', 'foo.xml', 'data') via JavaScript should do a POST request. At least according to wikipedia. But Rails 2.2 is quite old, you should prepare to rewrite ;) S Ahmed schrieb am Mi., 16. Aug. 2017 um 04:34 Uhr: > In rails 2.2 there was checks in the code like: > > if

Re: [Rails] Re: real array via has_many

2016-05-27 Thread Norbert Melzer
You have to add an index column and use order by. SQL as a standard does not guarantee any ordering unless you enforce it, so any implementation can return elements in the order that is most efficient. Zdravko Balorda schrieb am Fr., 27. Mai 2016 15:53: > Yes. So how one can handle arrays proper

Re: [Rails] real array via has_many

2016-05-27 Thread Norbert Melzer
Has many does not resemble an array but a set. Zdravko Balorda schrieb am Fr., 27. Mai 2016 15:20: > The way to implement arrays in ActiveRecord is via has_many. > But, normally Ruby arrays keep the order of elements, while has_many do > not. > This is not just a matter of "order by" clause. > A

Re: [Rails] Ruby on Rails tutorial by Michael Hartl

2016-05-27 Thread Norbert Melzer
If you are able to, do an upgrade. If you can't just ignore the warning… In any case, it is not related to the remaining message you screenshotted instead of copy pasting… Just read along after the warning lines and take a closer look at the actual error, it gives you very good hints on how to proc

Re: [Rails] Can we create Kisok apps using ROR

2015-10-06 Thread Norbert Melzer
Kiosk mode is a feature of some UAs, just try to hit F11, works in FF and Chrome at least. Exiting is via F11 also. But I don't see how it would be different to do this with rails instead of php or plain HTML. it's a feature of the client, not the server. Colin Law schrieb am Di., 06.10.2015, 22

Re: [Rails] Re: Help regarding installation of Gems

2015-09-21 Thread Norbert Melzer
Sorry, that answer was to the wrong mail, because of some flaws of Google's inbox mailclient. In fact he only checked for libxml2, not for libxml2-dev as far as I understand ops answer. Colin Law schrieb am Mo., 21.09.2015, 10:49: > On 21 September 2015 at 09:36, Norbert Melze

Re: [Rails] Re: Help regarding installation of Gems

2015-09-21 Thread Norbert Melzer
Please make sure you have also installed libxml2-dev, notice the suffix! Colin Law schrieb am Mo., 21.09.2015, 10:20: > On 20 September 2015 at 20:37, Prasanna Moharana > wrote: > > > > Hello colin as u told me to send some data relavant to your command let > me give a Result of command that i

Re: [Rails] Help regarding installation of Gems

2015-09-14 Thread Norbert Melzer
OK, I have taken a closer look into the posted screenshot. It seems to happen when installing nokogiri, what were the names of the development headers it depends on? Colin Law schrieb am Mo., 14.09.2015, 21:41: > On 14 September 2015 at 18:52, Norbert Melzer wrote: > >> Insta

Re: [Rails] Help regarding installation of Gems

2015-09-14 Thread Norbert Melzer
Install gcc, it's obvious by just looking at which point mkmf cancels... Probably you will stumble over more missing development packages after that, but let's make one step after the other. Prasanna Moharana schrieb am Mo., 14.09.2015, 12:03: > >

Re: [Rails] Help with install and config

2015-09-04 Thread Norbert Melzer
What exactly does it mean when you say "it just wont"? Errormessage? What happens, what do you expect to happen instead? What are you actually doing? Greg NYC schrieb am Fr., 04.09.2015, 7:23: > Hi there! I am new to ruby on rails but have some starting up issues. I am > on a windows 10 updated

Re: [Rails] installing rails

2015-07-21 Thread Norbert Melzer
that reason will be hard without having access to your machine or at least know more about your overall network setup. Ankit Raj schrieb am Di., 21.07.2015, 13:24: > what do you mean by faulty url ? > > > i am not sitting in proxy or firewall > > > On Tue, Jul 21, 2015

Re: [Rails] installing rails

2015-07-21 Thread Norbert Melzer
Have you tried opening the faulty URLs in your browser? What happens? Do you sit behind a proxy or a firewall? Ankit Raj schrieb am Di., 21.07.2015, 13:03: > now i got this error > > > ruby-2.2.2 - #downloading ruby-2.2.2, this may take a while depending on > your connection... > > % Total

Re: [Rails] installing rails

2015-07-21 Thread Norbert Melzer
Get.rvm.io redirects to https://raw.githubusercontent.com/wayneeseguin/rvm/master/binscripts/rvm-installer Perhaps you should give that a try. Colin Law schrieb am Di., 21.07.2015, 11:44: > On 21 July 2015 at 10:33, Sadaf Noor wrote: > >> To install ruby and ruby on rails you can follow these s

Re: [Rails] Re: Error ROR on fedora 22

2015-06-18 Thread Norbert Melzer
ow fedoras package manager is called, invoked or used, nor how the package could be named. Buddha Gautama schrieb am Do., 18.06.2015, 16:17: Norbert Melzer wrote in post #1175258: > Install missing headers! There should be Ruby Dev or source package in > your > package repository > >

Re: [Rails] Error ROR on fedora 22

2015-06-18 Thread Norbert Melzer
Install missing headers! There should be Ruby Dev or source package in your package repository First Last schrieb am Do., 18.06.2015, 14:17: > Sorry for bad english) > > When I want to create an application "#rails new firstapp" then a > mistake. > Requires gem byebug. When you try to install it

Re: [Rails] how to disable the browser back button in javascript.

2015-04-23 Thread Norbert Melzer
Dont! Am 23.04.2015 15:17 schrieb "usha rani" : > how to disable the browser back button in javascript. > > -- > 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 > em

Re: [Rails] Re: Solve my problem, please

2015-04-23 Thread Norbert Melzer
Am 23.04.2015 14:46 schrieb "Andika Andika Nugraha" : > > I 've run RoR in linux , but still there is a problem when I made the > server , you may be able to help . Thank you. > > andika@andika-HP:~/andikanug$ rails s > Warning: Running `gem pristine --all` to regenerate your installed > gemspecs (

Re: [Rails] RVM question

2015-04-19 Thread Norbert Melzer
rvm use version@gemset Am 19.04.2015 03:06 schrieb "jmcguckin" : > I have a bit of a chicken & egg problem: > > Assume I have a top level directory for all my Rails projects. Each > project might be using a different version of Ruby and Rails. > > How do I run a "rails new foo" with the correct ru

Re: [Rails] Re: Re: Re: Re: Emails Not Sending

2015-04-15 Thread Norbert Melzer
Proofread username and password, double check server settings, google a tutorial about how to use activemailer with gmail. Am 15.04.2015 10:12 schrieb "Edward Maya" : > Norbert Melzer wrote in post #1172069: > > There was an authentication error against the google servers

Re: [Rails] Re: Re: Re: Emails Not Sending

2015-04-15 Thread Norbert Melzer
There was an authentication error against the google servers. That's it. Am 15.04.2015 09:31 schrieb "Edward Maya" : > Robby O'Connor wrote in post #1172066: > > Also to add: if you encounter issues like this ALWAYS ALWAYS ALWAYS > > check logs whether it be testing, production or development...it

Re: [Rails] Re: New Rails project looking for beginners rails developers

2015-03-31 Thread Norbert Melzer
given file. Also I would be glad if I could see one or another person willing to talk/help in the new gitter.im channel https://gitter.im/NobbZ/Lemmy 2015-03-31 14:29 GMT+02:00 Norbert Melzer : > There are still some forks left, as you can see on my fork-graph: > https://github.com/NobbZ

Re: [Rails] Re: New Rails project looking for beginners rails developers

2015-03-31 Thread Norbert Melzer
whereabouts... > > > Non-authoritative answer: > > redmine.hammicus.org canonical name = hammicus.org. > > Name: hammicus.org > > Address: 192.3.12.117 > > > On Tue, Mar 31, 2015 at 8:29 AM, Norbert Melzer > wrote: > >> There are still some forks left,

Re: [Rails] Re: New Rails project looking for beginners rails developers

2015-03-31 Thread Norbert Melzer
There are still some forks left, as you can see on my fork-graph: https://github.com/NobbZ/Lemmy/network Also github has made deepakkumarsharmas fork the main repo which has the following forkgraph: https://github.com/deepakkumarsharma/Lemmy/network Also you can see even more contributors (and po

Re: [Rails] Re: New Rails project looking for beginners rails developers

2015-03-31 Thread Norbert Melzer
Gundala > [image: https://]about.me/gmk.india > <https://about.me/gmk.india?promo=email_sig> > > > On Mon, Mar 30, 2015 at 5:52 AM, Norbert Melzer > wrote: > >> All of a sudden everything is gone... >> >> Redmine away, gitter.im chat vanished, github repo

Re: [Rails] Re: New Rails project looking for beginners rails developers

2015-03-30 Thread Norbert Melzer
All of a sudden everything is gone... Redmine away, gitter.im chat vanished, github repo disapperead, not even Oliver Batards github account does exist anymore... 2015-03-28 14:37 GMT+01:00 Olivier BATARD : > Hi, > > Welcome, feel free to join us https://redmine.hammicus.org and begin :) > > Che

Re: [Rails] running brew doctor

2015-03-18 Thread Norbert Melzer
I don't know anything about macs, but on my windows AND my Linux box I have python and rails coexisting nicely. Am 17.03.2015 08:01 schrieb "Zak Beard" : > I installed rails, but once it finished it said that it didn't like > python. I had python on my computer from an old class, but I thought I h

Re: [Rails] New Rails project looking for beginners rails developers

2015-03-16 Thread Norbert Melzer
Im Interesses Too! Am 10.03.2015 20:23 schrieb "Olivier Batard" : > Hello ! > > I'm new to the rails world, and I want to use and extend my knowledge and > experience with the developement of a new Open Source project called > "Lemmy". The idea is to gather some rails beginners so we can learn Rai

Re: [Rails] Re: Stuck with rails installation.

2015-03-03 Thread Norbert Melzer
He is asking you to share the errormessage you get when trying to install manually, commands you invoke included! Oh an please don't screenshot, but copy and paste your terminal. Am 03.03.2015 15:05 schrieb "Hemant Bhargava" : > > > > Why not? > > > > I am sorry! Is that a question or you are aski

Re: [Rails] ruby 1.8.7-p302.exe file i am not getting

2015-01-22 Thread Norbert Melzer
22.01.2015 10:50 schrieb "Colin Law" : > On 22 January 2015 at 09:42, Norbert Melzer wrote: > > There is no RVM on windows, which we can imply as the OPs system because > of > > .exe fileextension. > > I still suggest using rvm. If that is not available on Windo

Re: [Rails] ruby 1.8.7-p302.exe file i am not getting

2015-01-22 Thread Norbert Melzer
There is no RVM on windows, which we can imply as the OPs system because of .exe fileextension. Am 21.01.2015 12:42 schrieb "Colin Law" : > On 21 January 2015 at 10:27, Lokesh Baxi wrote: > > please i want to install the version ruby1.8.7-p302.exe please help me > > out > > I suggest using rvm. >

Re: [Rails] Re: Getting Guard tests to run AUTOMATICALLY

2015-01-10 Thread Norbert Melzer
Have you installed the correct inotify bindings or is guard Running in fallback Mode? Am 10.01.2015 07:10 schrieb "Jason Hsu, Rubyist" : > I've tried out the complete sample app from > https://github.com/mhartl/sample_app_3rd_edition to ensure that I didn't > overlook something. > > Now I realize

Re: [Rails] instaling rails 4.0.8

2014-10-14 Thread Norbert Melzer
2014-10-14 16:49 GMT+02:00 Jason Fleetwood-Boldt : > > Jarmo, > > Holy crap. *Is that documented?!?* > Yapp! But thats not rails but rubygems behaviour. Documentation is hidden inside the documentation for "gem install": http://guides.rubygems.org/command-reference/#gem-install Read the last p

Re: [Rails] Help in deleting data from database

2014-09-29 Thread Norbert Melzer
I'd guess that He wanted to Show us a screenshot of the actual errormessage but his MUA got the HTML-mail wrong. Or our MUA does not support that kind of embedded images. Since I'm with my mobile right now I can't check the OPs mailheaders for misinformation. Am 29.09.2014 10:17 schrieb "Colin Law"

Re: [Rails] Restarting Terminal when creating new attribute in atom question

2014-08-31 Thread Norbert Melzer
2014-08-31 19:16 GMT+02:00 Thomas O'Boyle : > I added the "has_many: cars" line in app/models/user.rb just like the > instructor. > Typo or copied? It has to be `has_many :cars` instead of `has_many: cars`! If it is just a typo, please show us your complete `db/schema.rb` and `app/models/{user,

Re: [Rails] Restarting Terminal when creating new attribute in atom question

2014-08-31 Thread Norbert Melzer
Have you followed his steps and changed your model? In other words, have you added the line has_many :cars in app/models/user.rb? Am 31.08.2014 09:42 schrieb "Thomas O'Boyle" : > Hi All, > > I just started the UT on Rails class through reddit and am completely new > to programing. I apologize for

Re: [Rails] Re: eval(hyperlink) question

2014-08-29 Thread Norbert Melzer
Am 29.08.2014 14:33 schrieb "Dave Castellano" : > > Dave Castellano wrote in post #1156219: > > Christopher R. Maden wrote in post #1156206: > >> On 08/28/2014 08:14 AM, Dave Castellano wrote: > >>> Can anyone point me in the right direction as to why "questions" is > >>> being prepended to the rou

Re: [Rails] guides.rubyonrails.org

2014-07-31 Thread Norbert Melzer
Show code... Without code Noone can tell Am 31.07.2014 17:27 schrieb "Carlo Giustinoni" : > I have followed the guide for creating the first Rails application 'Blog', > I can't get the title : Rails is Awesome nor the Text : It really is to > render . > > Can anyone help ? > > Thanks > > -- > You

Re: [Rails] Error Facebook Authentication

2014-07-08 Thread Norbert Melzer
Tell us what error you get and show relevant code (use copy and paste) Am 08.07.2014 08:10 schrieb "huon sothon" : > Dear all Developers, > > I try to get authentication from facebook, but i got error. > how to solve this problem? > > thanks you, > > thon > > -- > You received this message because

Re: [Rails] Get SQLite error using heroku db:push when I'm using PostgreSQL as development db

2014-07-08 Thread Norbert Melzer
Please show yor config/database.yml Am 08.07.2014 08:10 schrieb "sothon huon" : > I was having problems pushing data from my development db to Heroku. I > decided to switch to PostgreSQL as my development db and have updated > database.yml and removed the sqlite gem from the gemfiles. > > The app

Re: [Rails] Cant install rails.

2014-07-07 Thread Norbert Melzer
This Message tells that you are not connected to the internet or at least you can't reach api.rubygems.org due to firewall restrictions or missing proxy settings. Please make sure you can connect to api.rubygems.org:80 via telnet and that you can ping it. If that doesn't help please provide more

Re: [Rails] I am doing codeschool Ruby Bits Part2, but get stucked.

2014-06-25 Thread Norbert Melzer
If you had used proper intendation you had seen that an end is missing. Am 25.06.2014 11:17 schrieb "Naomi Zheng" : > In this lesson, I am learning optional block. > class Library > attr_accessor :games > > def initialize(games) > @games = games > end > > def list > games.each do |

Re: [Rails] Re: Remove Http header response

2014-06-24 Thread Norbert Melzer
He gets that snippet from another server, the opening does not want to create a body without headers, he wants to extract the actual body out of a full HTTP-response he got from external services. So easiest way would be to drop everything before the first (and including it) newline, the remainder

Re: [Rails] git push not working

2013-10-22 Thread Norbert Melzer
You should not use HTTPS for push, delete that remote and add it again using ssh protocol! Am 21.10.2013 19:41 schrieb "Natmanu" : > > > Hi again, > > I'm working on http://ruby.railstutorial.org > >

Re: [Rails] git push not working

2013-10-22 Thread Norbert Melzer
I have plenty of ssh keys at github. One foe each of my PCs, one for my server, and every PC has at least 2 operating systems which have it' its own key each. They never interfered each other. Am 21.10.2013 22:27 schrieb "Natmanu" : > Hi, > > More info: > > In my .ssh directory on windows, I hav

Re: [Rails] .exe creation

2013-10-19 Thread Norbert Melzer
Ocra is windows only,but the OP uses a *nix. So ocra isn't a help. Am 19.10.2013 20:45 schrieb "Drfrog" : > I've had great success using ocra > http://ocra.rubyforge.org/ > > the nice thing about it is you can tie it to an innosetup script and > generate a windows installer w wizard etc, along w a

Re: [Rails] .exe creation

2013-10-19 Thread Norbert Melzer
I would consider rubyscript2exe dead. According to http://rubygems.org/gems/rubyscript2exe the last release is over 6 years old. The official docs say it is tested with Ruby 1.8.2 which is not maintained any more for about a year now and it says it is tested with rubygems 0.8, woody is very old, II

Re: [Rails] RVM Path issue when I run RVM -V

2013-09-17 Thread Norbert Melzer
Please read the error messages and LOOK at your path variables, not only copy and paste them. Reading and understanding error messages can help save time pretty often... Am 17.09.2013 05:56 schrieb "Chris Kuffo" : > Hello - Hoping someone can help with this issue. Everytime i run rvm -v > i recei

Re: [Rails] Re: Mailing Error

2013-09-04 Thread Norbert Melzer
Have you activated SMTP access in your gmail preferences? Am 04.09.2013 07:11 schrieb "Avi" : > This is my configuration :- > > config.action_mailer.default_url_options = { :host => 'localhost:3000' } > config.action_mailer.delivery_method = :smtp > config.action_mailer.smtp_settings = { >

Re: [Rails] Re: content_tag inside content_tag

2013-08-18 Thread Norbert Melzer
Standard HTML: example Content_tag: content_tag :div, "example" Am 18.08.2013 11:19 schrieb "Brandon Brown" : > Is there any body who can explain the differences between using "standard > HTML" and "content_tag"? > > 在 2013年8月14日星期三UTC+8上午5时27分08秒,Ruby-Forum.com User写道: >> >> kanna wrote in po

Re: [Rails] eclipse building project and takes for ever

2013-07-24 Thread Norbert Melzer
Get rid of eclipse and use vim or sublime text with the appropriate plugins. Another way is just to turn off auto compile in the build menu, at least that worked when I was using eclipse with c++. Am 24.07.2013 20:23 schrieb "brian sur" : > is there a setting I can set to stop eclipse from buildi

Re: [Rails] How to create first user for sign in using devise

2013-07-22 Thread Norbert Melzer
Devise has a wonderful kickstarter, just take a look into the readme and follow the steps. Am 22.07.2013 13:50 schrieb "Tushar Patil" : > Hi, >I want to authentication for sign in and sign out, i add gem file and > create a user model using devise in rails3, i want to create a user for > first

Re: [Rails] rails and vpn

2013-07-21 Thread Norbert Melzer
Why not bind the server only to the VPNs specific address? This way you don't need to change source code every time something changes in the VPN. Am 22.07.2013 00:08 schrieb "Simon Macneall" : > Hi, > > I'd assume that the vpn has a specific IP address? I'd just check for that > address in the re

Re: [Rails] (Jobs) Berlin-based job openings for Ruby on Rails developers (f/m)

2013-07-03 Thread Norbert Melzer
Am 03.07.2013 22:45 schrieb "Johnneylee Rollins" < johnneylee.roll...@gmail.com>: > > What do you mean by f/m? Female/male It is quite usual in Germany to mention that a job is open for both genders by adding either the English abbreviation m/f or the German m/w. -- You received this message be

Re: [Rails] rubyXL error - uninitialized constant RubyXL (NameError)

2013-06-30 Thread Norbert Melzer
Am Sun, 30 Jun 2013 08:48:48 -0700 (PDT) schrieb Muthu Selvan : > *Norbert Melzer >>* Install rubyXL without sudo > Muthu Selvan >> gem install rubyXL > Fetching: rubyXL-1.2.10.gem (100%) > Successfully installed rubyXL-1.2.10 > 1 gem installed > > *ER

Re: [Rails] rubyXL error - uninitialized constant RubyXL (NameError)

2013-06-30 Thread Norbert Melzer
2013/6/30 Muthu Selvan > *sudo gem install rubyXL* -> *EMPTY RESULT * > This line makes me assume, that you use a system ruby and no version manager… > * > * > *So installed rubyXL with the below command ...* > * > * > Fetching: rubyXL-1.2.10.gem (100%) > Successfully installed rubyXL-1

Re: [Rails] rubyXL error - uninitialized constant RubyXL (NameError)

2013-06-29 Thread Norbert Melzer
Am Fri, 28 Jun 2013 17:44:29 -0700 (PDT) schrieb Muthu Selvan : > > Hi , > >I am trying to read excel sheet from Ruby so i have installed > RubyXL ( sudo gem install rubyXL ) . > >After installed successfully , I am running with the below source > code , but its giving error > >

Re: [Rails] Re: uninstall dependencies along with the gem

2013-06-23 Thread Norbert Melzer
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Am Sun, 23 Jun 2013 06:21:37 -0500 schrieb Jordon Bedwell : > On Sun, Jun 23, 2013 at 4:39 AM, Norbert Melzer > wrote: > > Also there are other dangers. Let's assume an RSS-Feed-Gem wich > > depends on Nokogiri. Also you

Re: [Rails] Re: uninstall dependencies along with the gem

2013-06-23 Thread Norbert Melzer
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Am Sun, 23 Jun 2013 06:21:37 -0500 schrieb Jordon Bedwell : > On Sun, Jun 23, 2013 at 4:39 AM, Norbert Melzer > wrote: > > Also there are other dangers. Let's assume an RSS-Feed-Gem wich > > depends on Nokogiri. Also you

Re: [Rails] Re: uninstall dependencies along with the gem

2013-06-23 Thread Norbert Melzer
Also there are other dangers. Let's assume an RSS-Feed-Gem wich depends on Nokogiri. Also you have a rails app which depends on Nokogiri. Now you remove that RSS-Gem and your App suddenly stops working. Ok, that is as easy as bundle command but creates unnecessary traffic and consumes time. Am 23.

Re: [Rails] Re: Railscasts Android app

2013-06-11 Thread Norbert Melzer
Perhaps you could do it as in Gmail app? Tap the icon to mark an entry and have an icon in the top bar to toggle status? This would make marking 200 episodes as seen much easier! Am 12.06.2013 00:37 schrieb "Rui Costa" : > In fact I have included the option to "Mark as watched". Just lonk click >

Re: [Rails] Railscasts Android app

2013-06-11 Thread Norbert Melzer
After a first look it seems interesting, but there should be added a little bit! I have already seen about 200 Episodes on my PC, but I don't see a way to mark them as seen in the Android app, except for letting it play for the full duration. A mark as seen feature should get added. Also it would

Re: [Rails] Re: Ruby 2.0 is running, but Rails 4 doesn't see it.

2013-06-03 Thread Norbert Melzer
Hmmm… I don't see any output of `which ruby`, probably missordered PATH-variable? Please check. HTH Norbert 2013/6/3 Alphonse 23 > Colin Law wrote in post #099: > > On 2 June 2013 22:20, Alphonse 23 wrote: > >> What am I doing wrong?? > >> > >> @ubuntu:~/ruby/things_i_bought$ rake db

Re: [Rails] Re: Re: Re: A simple javascript alert not working

2013-06-01 Thread Norbert Melzer
2013/6/1 Paul Bergstrom > Norbert Melzer wrote in post #1110888: > > Oh, and when you want to have a js response, then you must use > > /test/index.js, without the extension given rails will try to deliver > > HTML > > I know. You mean index.js.erb? I mean, if your

Re: [Rails] Re: Re: A simple javascript alert not working

2013-06-01 Thread Norbert Melzer
Have you a route to a corresponding controller in general? Have you a controller? Does this controller work when you try to deliver an HTML view? Oh, and when you want to have a js response, then you must use /test/index.js, without the extension given rails will try to deliver HTML (if you haven't

Re: [Rails] Sass or Css for the rails app

2013-05-30 Thread Norbert Melzer
Precompile your S[AC]SS into CSS. Thats the only way I am awara of. 2013/5/30 Fahad Idrees > I am new to rails. i found Sass a real beauty to write CSS. My question > is that is there any efficency to use Sass for the project that minimize > the response time of the each request?? > > -- > Pos

Re: [Rails] Ajax - the Rails way!

2013-05-29 Thread Norbert Melzer
2013/5/30 Tommy Ng > > <% form_tag({:controller => "main", :action => "contact"}, :remote => > There should be an equal sign (=) just after the percent to tell erb, that it should output something > true, :update => "result") do %> >Name:<%= text_field_tag(:name, :"", :id => "name") %> >

Re: [Rails] Installing rails

2013-05-27 Thread Norbert Melzer
Install the SSL libs of your Linux-Distribution then reinstall rubygems. 2013/5/27 David Arroyo > Hi folks! > I'm installing rails and I have the next error: > > administrator@localhost:~$ sudo gem install rails-3.2.13.gem > ERROR: While executing gem ... (NameError) > uninitialized consta

Re: [Rails] Re: Asset Pipeline pre-processing doesn't clear the cache when dynamic erb is used

2013-05-27 Thread Norbert Melzer
If you have this file in app/assets/javascript the file will be evaluated only once, in development it is when you request it the first time after download. In production it will be the time as you precompile it. In production also it would be contraproductive if you would compile it everytime, as

Re: [Rails] error with rails console

2013-05-26 Thread Norbert Melzer
Is irb running standalone? Am 26.05.2013 08:54 schrieb "Annapoorna R" : > still the same... > > > On Sun, May 26, 2013 at 2:49 AM, wrote: > >> ** >> >> Add in Gemfile >> Gem 'rb-readline' >> >> Then run 'bundle install' >> >> >> But I not sure. In my computer is working. >> Please loo

Re: [Rails] Is command line Rails also so slow on Linuxes as it is on Windows?

2013-05-22 Thread Norbert Melzer
That depends on your definition of fast and slow… Let's just say, that I didn't realize any speedproblems with windows, because years ago many other problems made me switch to linux. With linux I have TAB-complete for rake, rails, rspec, rvm and many other auxiliary tools via zsh-plugins. I never

Re: [Rails] yaml and ip addresses

2013-05-21 Thread Norbert Melzer
Use " for strings if they are ambitious, "127.0.0.1" for example. Am 21.05.2013 18:27 schrieb "John Merlino" : > I was using this code > > url = "http://#{agent_host}:#{agent_port}/home/create_unit?"; > > > And it worked fine in development but for my config.yml, I was > specifying localho

Re: [Rails] Ruby Problem update

2013-05-19 Thread Norbert Melzer
HOW did you installed 2.0 and WHERE did you put the binaries? Did you remember to update your path? If you used rvm, did you remember to load it in bashrc (or similar)? 2013/5/18 Jean-René Saint-Etienne > Hello, > I have always worked with ruby 1.8.7 on Linux Oracle from the depository > avail

Re: [Rails] Error in rubyracer installation

2013-05-12 Thread Norbert Melzer
Have you tried to run 'bundle install' as mentioned in the error message? Am 12.05.2013 15:40 schrieb "Andrew Tristan" : > My OS : Windows 7. I am actually working with my friends with Github, > but 2 days before ,one of my friend has inputed Therubyracer and pushed > it to Github. After that i wa

Re: [Rails] Re: image_tag problem

2013-05-08 Thread Norbert Melzer
Theoretically the picture should show up if you put it into /app/assets/images/ But there might probably a problem with your version of sprockets, some rails versions are using very old sprockets versions, so please tell us which rails and sprockets version you are locked to (Gemfile.lock) if my h

Re: [Rails] Cannot reach http://localhost:3000 after starting Ruby on Rails server

2013-04-14 Thread Norbert Melzer
According to the stack trace sqlite3 isn't part of the bundle, so bundle install wouldn't help without adding it first. Also most rails devs use Linux or Mac for their work so I would advice the OP to use a VM with Ubuntu or set the machine up for dual boot. The chance to get help is much higher s

Re: [Rails] Help me the error after replace sqlite3 by using MongoDb and MongoId

2013-04-10 Thread Norbert Melzer
It isn't enough just to change the gems, you also have to alter the database configuration to be found at config/database.yml. Please check Mongo manual for further details. Am 10.04.2013 17:31 schrieb "haxuan lac" : > I want use MongoDB same as database of Project. > I delete gem "sqlite3" and co

Re: [Rails] Is a controller called "home" sort of a standard or best practice?

2013-01-20 Thread Norbert Melzer
Am 20.01.2013 21:17 schrieb "Walter Lee Davis" : > Naturally, Ryan Bates has a RailsCast about this: > > http://railscasts.com/episodes/117-semi-static-pages > http://railscasts.com/episodes/117-semi-static-pages-revised > > (That second one might require a membership to see, not sure, didn't want

Re: [Rails] Good books about the internals of Rails 3

2013-01-10 Thread Norbert Melzer
2013/1/10 Maciej Rząsa > Do you think it's still reasonable to buy those books, knowing that RoR4 > will be released soon? I'm especially interested in Crafting Rails > Applications, but I don't want to buy something that will be obsolete in a > couple of months. > > Why did you buy a PC? -- Yo

Re: [Rails] ERROR : An error occurred while installing mysql2 (0.3.11), and Bundler cannot continue.

2012-12-25 Thread Norbert Melzer
You need to install ruby-Dev and mysql-Dev packages. sudo apt-get install ruby-Dev mysql-dev Could also be Devel instead of Dev, not sure about that at the moment. Also it may be that you have to purge and reinstall ruby after that to get it working. This part is covered in any ruby with Ubuntu

Re: [Rails] why do I have to refer to my attr_accessible as self.varname?

2012-12-22 Thread Norbert Melzer
ines of > validation, and then Page.save() so before_save would be ok I guess. Is > there typically a standard way of doing things? > > > On Fri, Dec 21, 2012 at 4:36 PM, Norbert Melzer wrote: > >> I would use a before_save or what it is called if I were you. >> Am 21

Re: [Rails] why do I have to refer to my attr_accessible as self.varname?

2012-12-21 Thread Norbert Melzer
I would use a before_save or what it is called if I were you. Am 21.12.2012 19:40 schrieb "Walter Lee Davis" : > > On Dec 21, 2012, at 1:12 PM, Dan Brooking wrote: > > > So is the way I'm doing it right? Or just a way I happened to hack it > to work? > > > > The way my code was looking was basica

Re: [Rails] php in ruby on rails project

2012-12-19 Thread Norbert Melzer
The button is not PHP, it is HTML, why not change the receiving action to be ruby? Storing an email address in DB and send an email is a trivial task... Am 19.12.2012 10:32 schrieb "Tdiddy" : > I have a problem that I have not been able to find the answer and I have > been looking for days. > > I

Re: [Rails] Streaming in Rails 3.2

2012-12-09 Thread Norbert Melzer
I the client poll every few seconds via AJAX. There is no other way. Am 09.12.2012 14:28 schrieb "Ravi Laudya" : > Hello all, > > I am writing an app to stream log files (or any files) on the browser as > they grow. The idea is that the rails app should do a 'tail -f' on the file > and keep sendin

Re: [Rails] Re: cannot store correct Time in timezone

2012-12-03 Thread Norbert Melzer
Time.new has a parameter for the timezone offset, use it, it would make your code more clean… http://www.ruby-doc.org/core-1.9.3/Time.html 2012/12/3 Erwin > [SOLVED] Time.zone.local(2012, 12, 3, 9, 30, 0) inside the > TIme.use_zone did it ... > > > > 1.9.3p194 :011 > Time.use_zone("Europe/L

Re: [Rails] cannot store correct Time in timezone

2012-12-03 Thread Norbert Melzer
Time. New uses the default system timezone when no one is given, so u say that you want 9:30 of your systems timezone in GMT, which is probably 8:30 GMT, depending on your local time zone. You have to add the corresponding parameter to Time. New. Take a look at its documentation. Am 03.12.2012 12:

Re: [Rails] Hosting with email accounts?

2012-11-26 Thread Norbert Melzer
sting not really the amount to pay differs, but the actual performance of the hosting service. Am 26.11.2012 15:59 schrieb "Jordon Bedwell" : > On Sun, Nov 25, 2012 at 10:56 PM, Norbert Melzer > wrote: > > don't use heroku, but at least in Germany there are virtual root s

  1   2   3   >