Page 1 of 16 | Next »
[17:16:14] siaW: i’m got back to my R4IA book but have problems with this failure: https://gist.github.com/siaw23/410741293602565421ae8df6a91826f2#file-console-txt
[17:27:26] siaW: Mirubiri: https://gist.github.com/siaw23/410741293602565421ae8df6a91826f2#file-_attachment_form-html-erb
[17:50:18] siaW: but should it be uploaded instantly?? what if the user has more files to attach? and if you mean instant, then how can the app know which ticket the attachment is for?
[04:47:17] siaW: if someone knows a bit a bout react/rails and can help: http://stackoverflow.com/questions/38407809/expose-model-data-in-component please do :)
[13:21:42] siaW: if someone can help: http://stackoverflow.com/questions/38411542/submitting-a-form-to-rails-with-reactjs :)
[15:07:26] siaW: can someone who knows a bit about React help me out: http://stackoverflow.com/questions/38411542/submitting-a-form-to-rails-with-reactjs
[19:30:40] siaW: if someone who knows react can help :) http://stackoverflow.com/questions/38411542/submitting-a-form-to-rails-with-reactjs
[22:07:24] siaW: hello i need help. i am using react-rails gem currently my url that points to users.json returen something like this
[22:08:06] siaW: i can see some records from my db in that file but the formatting has some strange “"” stuff that i don’t know how to handle
[11:31:00] siaW: i cloned a repo and did ‘bundle install’ and everything was ok. for some reason i tried to do ‘bundle install’ again after cloning the same repo and i get https://gist.github.com/siaw23/41be220cf01a5b68da22e91fbf12fa69
[11:31:40] siaW: i have no idea what ‘ruby_dep’ does but it’s saying it require ruby versions above 2.2 and the repo has it’s ruby set to 2.0
[11:44:28] siaW: yes i did that and i get https://gist.github.com/siaw23/41be220cf01a5b68da22e91fbf12fa69#file-install-txt
[11:46:18] siaW: the ruby version of the repo is set to 2.0, if i change to a higher version, there’s a whole lot of mess
[11:51:54] siaW: there’s this gem ‘gem 'paperclip', git: 'http://github.com/thoughtbot/paperclip.git'
[11:56:20] siaW: sevenseacat: after recloning see the kind of error i’m getting https://gist.github.com/siaw23/41be220cf01a5b68da22e91fbf12fa69
[11:56:39] siaW: on this line https://gist.github.com/siaw23/41be220cf01a5b68da22e91fbf12fa69#file-bundle_install-txt-L107
[13:40:23] siaW: i’m getting “Mysql2::Error: Specified key was too long; max key length is 3072 bytes: ALTER TABLE `infringing_urls` CHANGE `url` `url` varchar(8192) NOT NULL” on https://gist.github.com/siaw23/57315de8132c1f490487ed9e5e862f6f#file-schema-rb-L116 and the migration looks like this: https://gist.github.com/siaw23/57315de8132c1f490487ed9e5e862f6f#file-some_migration-rb how can i fix this?
[13:44:14] siaW: the migration was successful until the point where it needed to create this table in question
[07:57:37] siaW: good day. i’m interested in what you read as a good book on Rails. any good recommendations here? I already finished Michael Hartl’s stuff and currently reading Rails 4 in Action
[10:59:05] siaW: is there a way i can have an array of size, say, 2. but anytime i do #shift, the new item is first element in array but the item at position 1, gets removed?
[14:16:22] siaW: gem install rails -v 4.2.6 it always intsalls the latest rails 5 beta. which i don’t want
[14:18:27] siaW: please see the sequence of my commands and what i’m getting https://gist.github.com/siaw23/9c484589279e2d9815617c5c203ec6be
[14:22:31] siaW: no that’s not working https://gist.github.com/siaw23/9c484589279e2d9815617c5c203ec6be#file-console-txt-L79
[14:28:47] siaW: which is what i want, but why it shouldn’t be there after i do “gem uninstall rails” and then choose the option to uninstall all versions
[14:35:26] siaW: now i want to be able to set a spefic rails version and ruby version for a given rails app.
[14:37:21] siaW: i google anything first before i come here. if i’m here means i couldn’t find it with google’s help
[14:39:30] siaW: no, i’m not stupid. but sometimes i try to know that i KNOW than act that i know and then be wrong
[14:40:12] siaW: and i’m not ashamed of asking stupid questions romaingdog, if you can answer, great, i’ll be thankful. if not, i’m sure people who come here are from google and can’t figure stuff out
[14:43:41] siaW: roamingdog: sometimes if you don’t know much about a subject, you don’t even know what to google. especially technical stuff. not sure if you’ve experienced this before, if not, then i’m extremely jealous of you!
[16:05:47] siaW: i’m trying to start a rails 3.2 app. I get this error after running “./bin/setup”. i’m following the instructions on here https://github.com/siaw23/lumendatabase/blob/dev/README.md and this is the error i’m getting https://gist.github.com/siaw23/37136570db10cde88fb0d285fabe01d8 i have googled “Gem::Ext::BuildError: ERROR: Failed to build gem native extension.” but it looks like this is a comon problem to a lot of other thing
[16:11:29] siaW: roamingdog: problem is i already have nodejs installed. so maybe i have to remove “therubyracer” from gem lock
[16:24:11] siaW: but trying to start forman and this is what i get https://gist.github.com/siaw23/37136570db10cde88fb0d285fabe01d8
[16:24:52] siaW: you see gdbm, that also appears to be a common problem with different cause maybe you know how to tacklet that?
[16:30:26] siaW: bundle exec foreman start doesn’t work same error. also i have tried commenting out the part where it’s requiring gdbm and get /Users/siaw/.rvm/gems/ruby-2.0.0-p247@global/gems/bundler-1.11.2/lib/bundler/runtime.rb:80:in `rescue in block (2 levels) in require': There was an error while trying to load the gem 'mysql2'
[16:36:14] siaW: as can be seen here: https://gist.github.com/siaw23/37136570db10cde88fb0d285fabe01d8#file-bundle-txt