[Rails] Re: 7ff5

2019-12-16 Thread Manuel Korfmann
Hey, I’m also able to create an autoresponder How awesome am I? Wooo I got rid of jobs, give me millions of USD On 26. Nov 2019, at 20:31, 'Marian G' via Ruby on Rails: Talk wrote: > Hello, > > after following 2 tutorials on Rails and getting those nice looking apps up > and

[Rails] Re: Re: 7ff5

2019-12-16 Thread Manuel Korfmann
Hey, I’m also able to create an autoresponder How awesome am I? Wooo I got rid of jobs, give me millions of USD On 30. Nov 2019, at 21:39, 'Marian G' via Ruby on Rails: Talk wrote: > I solved my problem by disabling the CSRF check on the public endpoint > (according to this >

[Rails] `rails g copy ModelName/ControllerName -> NewModelName/NewControllerName new_field_for_copied_model_controller_combination:string new_relation:references`

2019-09-20 Thread Manuel Korfmann
How about a new generator? It copies a Controller including views and it’s related model including relations and callbacks to NewModelName and NewControllerName, newly added fields can be specified like for a scaffold generator. -- You received this message because you are subscribed to the Go

Re: [Rails] "Cool" and mostly crazy hotfix for acts_as_paranoid (pls read as core dev)

2019-09-19 Thread Manuel Korfmann
::Brainstorm.class_eval do default_scope lambda { where id: (unscoped.pluck(:id) - only_deleted.pluck(:id)) } end end end ``` > On 19. Sep 2019, at 13:31, Manuel Korfmann wrote: > > Refinements didn’t work when tested properly, so I ended up with this > construct

Re: [Rails] "Cool" and mostly crazy hotfix for acts_as_paranoid (pls read as core dev)

2019-09-19 Thread Manuel Korfmann
Banal::Brainstorm.class_eval do default_scope lambda { without_deleted } end end ``` > On 19. Sep 2019, at 13:02, Manuel Korfmann wrote: > > https://gist.github.com/ezii123/64913dfed18a175031ea70eeab54ca4c > <https://gist.github.com/ezii123/64913dfed18a17503

[Rails] "Cool" and mostly crazy hotfix for acts_as_paranoid (pls read as core dev)

2019-09-19 Thread Manuel Korfmann
https://gist.github.com/ezii123/64913dfed18a175031ea70eeab54ca4c -- 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 rubyonrails-talk+unsubscr...@googlegroups

[Rails] Migration with active records

2015-12-10 Thread Manuel Shenavai
Hi everyone, I got a question regarding active records. Im new to ruby as well as active records. As mentioned here , its possible to migrate database schema with active records. "Rails provides a domain-specific language fo

[Rails] Need help building out a has_many :through association :: RoR

2015-11-09 Thread Manuel Quintanilla
***Note if you have a similar setup and would share - email me @ alloffices@gmail.com*** I'm still fairly new to RoR and am having a bit of trouble understanding how to setup the contributions controller and the form in the view. *Objective:*1. user1 creates post - which belongs to user1

[Rails] Text

2015-11-09 Thread Manuel Quintanilla
This is a test -- 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 rubyonrails-talk+unsubscr...@googlegroups.com. To post to this group, send email to rubyonr

[Rails] Heroku ffmpeg buildpacks

2015-10-20 Thread Manuel Quintanilla
I'm working on a video upload rails app and am using paperclip-av-transcoder, s3, Heroku. The main issue I'm concerned with is why dose the video uploads on mobile phones not work when the buildpacks - (ruby, ffmpeg) are set. If I set the buildpacks the videos should show as they show on deskto

[Rails] Re: Having some issues on backend regarding a social networking project on ROR

2013-09-13 Thread Manuel Montoya
I think the User->HasOne->Profile association will be OK. From there you can go searching for more efficient database calls. On Thursday, 12 September 2013 03:16:45 UTC-5, Yash Ladia wrote: > > I am working on a social networking project. I need to store about 10-15 > user profile informati

[Rails] ruby-debug-ide19 will not work properly on Aptana Studio 3 (RailsInstaller 2.1.0)

2012-06-24 Thread Manuel Yépez
Hello everyone. I was wondering if we can expect a fix of this issue on the next RailsInstaller version, documented here: http://archimedesnewton.com/2012/05/30/installing-ruby-debug-ide19-on-ruby-1-9-3-p125-from-railsinstaller-2-1-0 I've stumbled on the exact same problem, and to be fair, it's

[Rails] Re: Associations join

2012-06-19 Thread Manuel Hutter
Hey! Associats are covered in great detail here: http://guides.rubyonrails.org/association_basics.html I think what you need is a has_many :through association -- Manuel -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups

[Rails] Re: Server is not starting

2012-06-19 Thread Manuel Hutter
No offense but did you even read the error message before posting here? -- 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

[Rails] Re: New service to improve i18n management

2012-04-10 Thread Manuel Boy
Nice! Great to hear you like it ;-) Am Samstag, 7. April 2012 15:37:10 UTC+2 schrieb YogiZoli: > > Excellent idea, just signed up! > > On Apr 6, 12:31 pm, comopasta Gr wrote: > > Manuel Boy wrote in post #1055240: > > > > > Hi everyone! > > >

[Rails] New service to improve i18n management

2012-04-06 Thread Manuel Boy
ght be interesting for you. It would be nice to hear some feedback and see some developers using it ;-) phraseapp.com Thank you! Manuel -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To view this discussion on the

Re: [Rails] Re: Rails development advice

2011-09-11 Thread Manuel Menezes de Sequeira
I'm also a Rails newby, but I've had very good surprises using RubyMine, by JetBrains (http://www.jetbrains.com/ruby/). Try it out. It does help to make sense of Rails. Manuel -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk&quo

[Rails] last inserted id

2011-03-10 Thread Victor Manuel AG
Hi, i have a problem inserting an data in a database I'm doing a multiple saved in BD touring cycle in each saved me the id should return the remains, or saved for insert in the table below. The problem is that I always return the first id is saved This is my code value.each do |item|

[Rails] How to delete a single item here.cant be so hard!

2011-02-19 Thread Juan manuel V.
Hi, im new to Ruby on Rails and im trying to do the following i = 1 @elements = Post.find(:all) @elements.each do |el| if el.name=="test" # remove el from @elements end end How can i achieve this? i was trying to do el.delete but that is going to delete the element from the database and

[Rails] Re: sortable acts_as_tree with heirarchy

2011-01-24 Thread Victor manuel Martin-romo beni...
Hola, He echo una adaptacion de tu codigo, a mí me funciona: Mi condicion de categoria principal: (category.parent_id == nil) Mi partial(_categories.html.erb): <% @categories.all(:order => "show_order asc").each do |category| %> <% content_tag_for :li, category do %> <%= image_tag

[Rails] Re: Is this thing here a helper or a model, or something else?

2011-01-13 Thread Manuel Kiessling
Thanks guys, just learnt another "Ruby way" of doing stuff, you helped a lot! Arailsdemo: "chunk" is a much better fitting name for what I'm planning to implement, thanks for this. -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Googl

[Rails] Is this thing here a helper or a model, or something else?

2011-01-13 Thread Manuel Kiessling
a helper, but as far as I understand helpers are for controllers and views, and this class is going to be used by models. So, maybe it's a model? Thanks in advance, -- Manuel -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google

[Rails] Re: Would love to hear feedback regarding my first Rails project

2011-01-12 Thread Manuel Kiessling
Thanks Dermot, really cool you took the time to go into detail, that helps a lot. I will rewrite stuff as you suggested, and I will look at Cells! -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" grou

[Rails] Would love to hear feedback regarding my first Rails project

2011-01-10 Thread Manuel Kiessling
er/app/views/frames/_frame.html.erb have to much logic? Any feedback is highly appreciated. Regards, -- Manuel -- 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

[Rails] Re: NoMethodError in StoreController#add_to_cart -> getting nil

2010-06-20 Thread Manuel Manuel
Manuel Manuel wrote: > Hey everybody, > > I am currently following the depot application from the book Web Agile > Development with Rails (3rd Edition) but after creating the controller > for the Store and the Cart model, I am always getting a nil product, no > matter how many

[Rails] NoMethodError in StoreController#add_to_cart -> getting nil

2010-06-20 Thread Manuel Manuel
Hey everybody, I am currently following the depot application from the book Web Agile Development with Rails (3rd Edition) but after creating the controller for the Store and the Cart model, I am always getting a nil product, no matter how many products I add to the database. I am very new with Ro

[Rails] Re: Workling - Queue List

2009-04-01 Thread Manuel
dy has a need for it :-) Maybe the thing with another Database Table with status isn't such a bad thing as i thought maybe another archive table with the "converted" records should't be a bad idea, right? Regards, Manuel On Mar 31, 5:01 pm, Danimal wrote: > Hi Manuel, >

[Rails] Workling - Queue List

2009-03-31 Thread Manuel
Hi there, I'm working on a Conversion Machine for Videos. I use workling and starling. My problem is that I can't find a way to show me how many jobs I have in each worker queue and maybe the possiblity to delete a job from that list. I tried it with the MemCache stats, searched the web etc c

[Rails] Restful S3 Explorer

2009-02-18 Thread Manuel
Hi everyone, I'm working on a S3 Bucket Explorer. My problem is the identifier of a S3 Object, it's a key like this: "Butterfly.wmv" or even "something/else.pdf" Now i try to make this restful, but the key confuses the routing (or just me) map.resources :s3files map.connect ':controller/:id', :id